bestikk-download
v1.0.0
Published
A simple tool to download files from HTTP or HTTPS
Downloads
100
Readme
Bestikk Download
ifdef::env-github[] image:http://img.shields.io/travis/bestikk/bestikk-download.svg[Travis build status, link=https://travis-ci.org/bestikk/bestikk-download] image:http://img.shields.io/npm/v/bestikk-download.svg[npm version, link=https://www.npmjs.org/package/bestikk-download] endif::[]
A simple tool to download files from HTTP or HTTPS.
Install
$ npm i --save-dev bestikk-download
Usage
const Download = require('bestikk-download')
const download = new Download({
followRedirect: true,
maxRedirects: 10
})
download.getContentFromURL('https://www.google.fr', 'index.html')
.then(() => { /* do something */ })