FirstNPMTry
Sample code to try below basic npm related things, using mocha test framework, chai assertion library Just first time users can use this package to test how these things work
npm login
npm init
creating package dependencies
writing some tests using mocha
writing some assertions using chai
npm publish
Installation
'npm install firstsample'
Usage
var sampleTest = require('firstsample');
var result = sampleTest.firstmodule();
Output should be 'My First NPM Publish'
Tests
'npm test'