Licence
MIT
Version
0.4.12
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Javascript File Download
Javascript function to trigger browser to save data to file as if it was downloaded.
Installation
npm install js-file-download --save
Usage
var fileDownload = require('js-file-download');
fileDownload(data, 'filename.csv');