Socket
Socket
Sign inDemoInstall

read-bsconfig

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-bsconfig

Library for reading the bsconfig.json for BuckleScript


Version published
Maintainers
1
Created
Source

read-bsconfig

Library for reading the bsconfig.json for BuckleScript

Usage

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()

FAQs

Package last updated on 03 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc