Test a package locally before publishing to NPM:
# Install the package in the global space
npm install . -g
# Package should show up in list
npm ls -g
Publish a package to NPM:
# Inside the root directory of the package
npm publish
Test a package locally before publishing to NPM:
# Install the package in the global space
npm install . -g
# Package should show up in list
npm ls -g
Publish a package to NPM:
# Inside the root directory of the package
npm publish