Jono20201 / js-file-download

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Javascript File Download

NPM version Build Status

Dependency Status devDependency Status peerDependency Status

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

About

License:MIT License


Languages

Language:JavaScript 100.0%