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 = ;
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 = ; var fileUrl ="https://en.wikipedia.org/wiki/Lion#/media/File:Lion_waiting_in_Namibia.jpg";var fileSavePath= './lib/';