2.0.0 • Published 2 years ago

node-downloader.js v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Downloader

Just a simple NPM package to download things off the internet

Table Of Contents

Installation

    npm install node-downloader.js

Example

    const { Downloader } = require('node-downloader.js');

    (() => {
        const options = {
            path: './downloads/',
            debug: true
        };
        const dl = new Downloader(options);

        
        const url = 'https://github.githubassets.com/images/icons/emoji/trollface.png';
        const file_name = 'photo.png';
        const path = './data/';
        const opts = {};

        dl.Download(url, file_name, opts, path);
    })();
2.0.0

2 years ago

1.1.0

2 years ago

1.0.0

3 years ago