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 -s
Requiring 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.