$ npm install --save my2ndnpmpackage
To use this npm package, require this module.
- Example:
require ('my2ndnpmpackage')
Build your file (either in the terminal or in your local editor) to feel its warm fuzzy effects.
- To build in the terminal, type:
$ node <nameOfFile.js>
If you would like Alan to positively reinforce you, write the following lines of code and build.
var alan = require ('my2ndnpmpackage')
alan.positivereinforcement()
This is a demo for personal growth, specifically to learn how to publish npm package.