$ npm install --save my1stnpmpackage
To use this npm package, require this module.
- Example:
require ('my1stnpmpackage')
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 Claire to hypnotize you, write the following lines of code and build.
var claire = require ('my1stnpmpackage')
claire.hypnotize()
This is a demo for personal growth, specifically to learn how to publish npm package.