Skip to content

bestikk/bestikk-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bestikk Download

Travis build status npm version

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 */ })