Download a module from the npm registry.
npm [-g] install download-npm-package
- Library to download packages
- CLI to download packages
- Will use registry (and auth) defined in your
- Supports scoped packages
downloadNpmPackage takes an package arg & a path as arguments and returns a promise, a promise that resolves once the package has been downloaded to the folder set in path.
There's also a cli available!
download-npm-package $packageArg [$path]