js-file-download
Javascript function that triggers browser to save javascript-generated content to a file
🌟 js-file-downloadのREADME.mdにリアルタイム使用チャートを表示するには、以下のコードをコピーしてください。## Usage Trend
[](https://npm-compare.com/js-file-download#timeRange=THREE_YEARS)
🌟 js-file-downloadのREADME.mdにGitHub Starsトレンドチャートを表示するには、以下のコードをコピーしてください。## GitHub Stars Trend
[](https://npm-compare.com/js-file-download)
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');