js-file-download
TypeScript icon, indicating that this package has built-in type declarations

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

Package Sidebar

Install

npm i js-file-download

Weekly Downloads

526,141

Version

0.4.12

License

MIT

Unpacked Size

4.57 kB

Total Files

9

Last publish

Collaborators

  • kennethjiang