Occasionally, you may need to install npm packages while offline. This could be due to a flaky network connection, being on a flight or during a workshop. Getting this working has been a dream for a while.

They say you should follow your dreams. Unless it’s been a while and they haven’t followed you back, in which case unfollow them and move on. Luckily, there are a few options available to get npm working offline today.

Addy Osmani is a web tooling engineer at Google working with the Chrome team. He is author of open-source projects like Yeoman and books like Learning JavaScript Design Patterns (O’Reilly).

Source: AddyOsmani.com – Offline installation of npm packages

Posted in: Articles.
Last Modified: February 26, 2016

Leave a Reply