blob

Abstracts out Blob and uses BlobBuilder in cases where it is supported with any vendor prefix.

Usage no npm install needed!

<script type="module">
  import blob from 'https://cdn.skypack.dev/blob';
</script>

README

Blob

A cross-browser Blob that falls back to BlobBuilder when appropriate. If neither is available, it exports undefined.

Installation

$ npm install blob

Example

var Blob = require('blob');
var b = new Blob(['hi', 'constructing', 'a', 'blob']);

License

MIT