download-npm
Download the modules from the NPM registry to HTML5 file system API
Installation
npm install download-npm
Features
- Library to download packages
- Supports scoped packages
Out of the scope
- It can not use the registry defined in your
.npmrc
file
Usage
downloadNpm takes an package name and a path as arguments and returns a promise, a promise that resolves once the package has been downloaded to the folder set in path.