bitjs

0.2.3 • Public • Published

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.

Analytics

Package Sidebar

Install

npm i bitjs

Weekly Downloads

3

Version

0.2.3

License

none

Last publish

Collaborators

  • learn-bit
  • teambit-owner
  • shohamgilad
  • davidfirst
  • lalybar
  • ranm8
  • odedre
  • guysaar
  • itaymendel
  • erezbit
  • joshk2
  • redigma
  • yona007
  • jonisar
  • ocombe