Skip to content

New Age Bullshit Generator, in an NPM Package

Notifications You must be signed in to change notification settings

chtzvt/nabg-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

About

New Age Bullshit Generator, in an NPM Package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published