Wondering what’s next for npm?Check out our public roadmap! »

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

Install

npm i datauri-download

DownloadsWeekly Downloads

3,612

Version

0.1.3

License

MIT

Last publish

Collaborators

  • avatar