datauri-download

0.1.3 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i datauri-download

Weekly Downloads

1,395

Version

0.1.3

License

MIT

Last publish

Collaborators

  • ashaffer88