file_downloader

2.3.0 • Public • Published

file_downloader

file_dowloader is an application that allows easy download files to desired destination in your local machine from any site and it works with both http and https protocols.

Installation

In order to install it you can run:

$ npm install file_downloader

Usage

var Downloader = require("file_downloader");

Programmatic Access

It takes to arguments first one image url are like of the website from which you want to download the image and second one is the destination to which folder you want to download the image it can be relative or absolute path for example :

var Downloader = require("file_downloader");
 
var fileUrl ="https://en.wikipedia.org/wiki/Lion#/media/File:Lion_waiting_in_Namibia.jpg";
var fileSavePath= './lib/';
 
Downloader(fileUrl,fileSavePath,function(parm){
    console.log(parm);
})

Package Sidebar

Install

npm i file_downloader

Weekly Downloads

0

Version

2.3.0

License

ISC

Unpacked Size

2.33 kB

Total Files

3

Last publish

Collaborators

  • vivek-havalad