Package Exports
- bitjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bitjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Bit driver for nodejs
For more information on Bit drivers, head over this Bit's wiki page about this topic.
Installing Bit-node.
npm install bit-js -sRequiring components
First, you need to require the bit-node module:
const bit = require('bit-js');After requiring the module, you can use any component from your bit.json file.
const isString = bit('isString');Calling component is simple :)
console.log(isString('Hello World!');If your component is in a box, you can use it like that:
isString = bit('string/is');Contributing to Bit-node
Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.
See Contributing.