0.1.9 • Published 7 years ago

node-url-downloader v0.1.9

Weekly downloads
43
License
MIT
Repository
github
Last release
7 years ago

node-url-downloader

NPM version Build status Test coverage Downloads

Download file from url by node.js.

Install

npm install --save node-url-downloader

If you want to use with command line, you need to install like below:

npm install -g node-url-downloader

Need node.js version 6.0 or later. If you install with -g,you may need to have root permission(sudo).

Usage

const Downloader = require('node-url-downloader');
const url = 'https://nodejs.org/dist/v6.11.0/node-v6.11.0.pkg';
const download = new Downloader();
download.get(url);
download.on('done', (dst) => {
  // download is finished
});

on command line client:

downloader [url] [outDir]

example:
downloader https://nodejs.org/dist/v6.11.0/node-v6.11.0.pkg ./downloads

LICENSE

MIT

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago