js-file-download

Javascript function that triggers browser to save javascript-generated content to a file

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
js-file-download
908100.4.124 years ago7 years agoMinified + gzip package size for js-file-download in KB

Readme

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');