Testing out how to create and deploy an npm module.
npm install test-npm-module --save
var myModule = require('test-npm-module'),
double = myModule.double,
square = myModule.square;
var num = 5,
doubled = double(num),
squared = square(num);
console.log('doubled', doubled, 'squared', squared);
npm test
- 1.0.0 Initial Release