1.0.2 • Published 7 years ago
nabg v1.0.2
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.