1.0.1 • Published 2 years ago

reactjs-file-downloader v1.0.1

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

reactjs-file-downloader

REACT File Downloader is a simple library you will be able to download file from browser and save data to file as if it was downloaded

Usage Just install, import with

import ReactDownLoad from 'reactjs-file-downloader'

  • And call ReactDownLoad. The method accepts 3 arguments, URL , methode and file name . Be sure to add the desired extension at the end of the file name.

Example:

ReactDownLoad('test.com/image.jpg','GET','test.jpg')