save-as

0.1.8 • Public • Published

save-as

NPM

FileSaver.js window.saveAs API functionality rewritten for es6

Install

npm i -S save-as

Usage

import saveAs from 'save-as'
 
let blob = new Blob(['Hello, world!'], { type: 'text/plain;charset=utf-8' })
saveAs(blob, 'hello world.txt')

Package Sidebar

Install

npm i save-as

Weekly Downloads

6,348

Version

0.1.8

License

MIT

Last publish

Collaborators

  • cchamberlain