Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

js-file-download

0.4.10 • Public • Published

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

Install

npm i js-file-download

DownloadsWeekly Downloads

120,975

Version

0.4.10

License

MIT

Unpacked Size

4.51 kB

Total Files

9

Last publish

Collaborators

  • avatar