Skip to content

A JavaScript helper to force downloading file in the browser

License

Notifications You must be signed in to change notification settings

fvilers/force-transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

force-download

A JavaScript helper to force downloading file in the browser

How to install

npm install @fvilers/force-download

or

yarn add @fvilers/force-download

How to use

const forceDownload = require('@fvilers/force-download');

forceDownload('https://somewhere.org/document.pdf', 'A file to download');

About

A JavaScript helper to force downloading file in the browser

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published