deploy-asset-download
Install
npm install deploy-asset-download -g
Use
dad --outDir downloads --max 2 resource.json
Example of resource.json
{
"scripts/head.js": "http://devres.hjfile.cn/co/as/head-e4e2b8e8ed936f18.js",
"scripts/vendors.js": "http://devres.hjfile.cn/co/as/vendors-6c0c5cee471c7f92.js",
"scripts/app.js": "http://devres.hjfile.cn/co/as/app-83f9cff7b40be106.js",
"styles/app.css": "http://devres.hjfile.cn/co/as/app-0c38c9b09a29498a.css"
}
Help
dad -h