datauri-download
Tell the browser to download a datauri as a file
Last updated 5 years ago by ashaffer88 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install datauri-download 
SYNC missed versions from official npm registry.

datauri-download

Accepts a filename and a datauri, and causes the browser to open a download dialog for the file/data.

Example

datauriDownload('gradebook.csv', 'text/csv;charset=utf-8', toCsv(gradebookData))

Current Tags

  • 0.1.3                                ...           latest (5 years ago)

3 Versions

  • 0.1.3                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 1
This Week 7
This Month 1
Last Day 6
Last Week 7
Last Month 16
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |