nostra
v0.0.7
Published
A fortune teller.
Maintainers
Readme
Nostra
Generates random-ish fortune-teller text.
Installation
npm install nostraUsage
var nostra = require('nostra');
var fortune = nostra.generate();Tests
Components:
ES6 -- Publishing to npm handled by configuring the package.json file
- See
buildandprepublish(which calls build) in thescriptssection. - The .npmignore file contains the
srcdir -- it doesn't get published to npm. - The .gitignore file contains the
distdir -- it doesn't get saved to git - In
package.json,mainpoints to the file at './dist/index.js'
ES6 -- Testing
- The test file should call the files in the
distdirectory, not thesrc. - See
testin thescriptssection -- make sure it builds before it runs the tests.
Resources
Notes
Adapted from Michael Sproul's python Horoscope Generator.

