# read-bsconfig

> Library for reading the bsconfig.json for BuckleScript

Latest version **1.0.5** (published 2018-05-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install read-bsconfig
pnpm add read-bsconfig
yarn add read-bsconfig
bun add read-bsconfig
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2018-05-03 |
| First published | 2017-09-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 140 |
| Author | Ryan Delaney |
| Maintainers | rrdelaney |

## Links

- npm: https://www.npmjs.com/package/read-bsconfig
- Repository: https://github.com/reasonml-community/bs-loader
- Homepage: https://github.com/reasonml-community/reason-scripts#readme
- Issues: https://github.com/reasonml-community/reason-scripts/issues
- npm.io page: https://npm.io/package/read-bsconfig

## Dependencies (1)

- [json5](https://npm.io/package/json5.md) ^0.5.1

## Recent versions

- 1.0.5 (latest) — 2018-05-03
- 1.0.4 — 2018-01-09
- 1.0.3 — 2017-10-26
- 1.0.2 — 2017-09-08
- 1.0.1 — 2017-09-08
- 1.0.0 — 2017-09-06

## README

# read-bsconfig

Library for reading the bsconfig.json for BuckleScript

## Usage

```js
const { readBsConfig, readBsConfigSync } = require('read-bsconfig')

// Read from the CWD
const myConf = readBsConfig()

// If the bsconfig is located somewhere else, pass it in as an arg
const otherConf = readBsConfig(__dirname)

// A bsconfig for a given path will be cached. This can be turned off
// by passing a second parameter as false
const notCachedConf = readBsConfig(__dirname, false)

// You can also read a config sync
// It has a the same arguments
const mySyncConf = readBsConfigSync()
```

---
_Source: https://npm.io/package/read-bsconfig · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
