1.0.2 • Published 7 years ago

nabg v1.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

nabg

Seb Pearce's wonderful New Age Bullshit Generator, rolled into a Node module with some minor tweaks.

Install

npm i -S nabg

Usage

Using the module is extraordinarily simple. Simply import the module and call the ionize method.

var nabg = require('nabg');

console.log(nabg.ionize(2));
// 'Where there is materialism, being cannot thrive. We can no longer afford to live with desire.'
  • nabg.ionize(numSentences): Randomly generates the requested number of sentences.
  • nabg.bs: This object contains a variety of methods used for the actual sentence generation. This makes it easier to roll your own sentence generation algorithm, if you were so inclined.

License

MIT

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago