canvas-to-blob

1.0.0 • Public • Published

canvas-to-blob

A polyfill for the canvas.toBlob method, for the browser.

Installation

npm install canvas-to-blob

Methods

var toBlob = require('canvas-to-blob');

toBlob(uri) - Transforms the Base64-encoded uri into a Blob.

toBlob.init() - Attaches the toBlob function to the Canvas prototype.

toBlob.supported - Returns true if this method is supported by the browser, otherwise false.

Readme

Keywords

Package Sidebar

Install

npm i canvas-to-blob

Weekly Downloads

4,879

Version

1.0.0

License

MIT

Unpacked Size

7.06 kB

Total Files

6

Last publish

Collaborators

  • remixz