js-file-download
Javascript function that triggers browser to save javascript-generated content to a file
Last updated 3 years ago by kennethjiang .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install js-file-download 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.4.12                                ...           latest (6 months ago)

13 Versions

  • 0.4.12                                ...           6 months ago
  • 0.4.11                                ...           7 months ago
  • 0.4.10                                ...           8 months ago
  • 0.4.9                                ...           a year ago
  • 0.4.8                                ...           a year ago
  • 0.4.7                                ...           a year ago
  • 0.4.6                                ...           a year ago
  • 0.4.5                                ...           2 years ago
  • 0.4.4                                ...           2 years ago
  • 0.4.3                                ...           2 years ago
  • 0.4.2                                ...           2 years ago
  • 0.4.1                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 12
This Week 1,978
This Month 8,147
Last Day 573
Last Week 2,615
Last Month 11,266
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (83)

Copyright 2014 - 2017 © taobao.org |