npm-download2
v0.2.3
Published
Download node package!
Downloads
1
Readme
download-pkg2
Download node package!
Install
npm install -g npm-download2
Usage
nd http-server nd http-server@latest
import as a module
const dp = require('npm-download2')
dp('http-server', './download')
.then(() => {
console.log('finished')
})
.catch((err) => {
console.log(err)
})