Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Latest commit cab17e3 Aug 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.babelrc init commit Apr 27, 2016
.editorconfig init commit Apr 27, 2016
.eslintrc Add eslint as a mimimal form of testing for CI Oct 30, 2018
.gitignore init commit Apr 27, 2016
.npmignore init commit Apr 27, 2016
.travis.yml Have Travis use the latest LTS of Node when running CI Oct 30, 2018
LICENSE Closes #17. license file. Jun 8, 2017
README.md Update README.md Oct 24, 2018
file-download.js IE 11 Fixes May 23, 2019
js-file-download.d.ts Fix missing bom arg in d.ts Aug 19, 2019
package.json bump version 0.4.8 Aug 20, 2019

README.md

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');
You can’t perform that action at this time.