NPM: test your packages with "npm pack" #npm #nodejs #js

Oscar Brito

If your are developing a node package I suggest you test it's installation :)

# create tgz package
npm pack

# install the generated package locally! This is so wrong!
# just install on another folder!
npm install .tgz

# install the generated package globally
npm install .tgz -g

That's it.

Visit for more informations, contacts and news about Web Development.
See other blog posts at

Divhide purpose is to follow the HTML5 movement and contribute with applications which prove the quality of technology.

Feel free to contact divhide.