https://github.com/bjornstar/blob-polyfill
An HTML5 Blob implementation
https://github.com/bjornstar/blob-polyfill
Last synced: 3 months ago
JSON representation
An HTML5 Blob implementation
- Host: GitHub
- URL: https://github.com/bjornstar/blob-polyfill
- Owner: bjornstar
- License: other
- Fork: true (eligrey/Blob.js)
- Created: 2015-03-20T08:19:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-10T14:58:15.000Z (10 months ago)
- Last Synced: 2024-09-14T03:29:19.179Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 71.3 KB
- Stars: 40
- Watchers: 4
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Blob Polyfill
[](https://www.npmjs.com/package/blob-polyfill)
[](https://www.npmjs.com/package/blob-polyfill)
[](https://github.com/bjornstar/blob-polyfill/actions/workflows/node.js.yml?query=branch%3Amaster)## Purpose
Blob Polyfill serves [Blob.js][0] over npm.
Blob.js implements the W3C [`Blob`][1] interface in browsers that do not natively support it.
## Changelog
[Please read the changelog](CHANGELOG.md)
## Installation
To install this library, run:
```bash
$ npm install blob-polyfill --save
```## Usage
CommonJS:
```js
var Blob = require('blob-polyfill').Blob;
```AMD
```js
import { Blob } from 'blob-polyfill';
```## Supported browsers
Blob.js shares the [same supported browsers as FileSaver.js][2].
## License
[MIT](LICENSE.md)

[0]: https://github.com/eligrey/Blob.js
[1]: https://developer.mozilla.org/en-US/docs/Web/API/Blob
[2]: https://github.com/eligrey/FileSaver.js#supported-browsers