save-as

ES6 version of FileSaver.js window.saveAs functionality.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
save-as
300.1.87 years ago8 years agoMinified + gzip package size for save-as in KB

Readme

save-as
NPM FileSaver.js window.saveAs API functionality rewritten for es6

Install

npm i -S save-as

Usage

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