# canvas-toBlob

> A canvas.toBlob() implementation

Latest version **1.0.0** (published 2016-12-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install canvas-toBlob
pnpm add canvas-toBlob
yarn add canvas-toBlob
bun add canvas-toBlob
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-12-01 |
| First published | 2016-12-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 676 |
| Author | eligrey |
| Maintainers | mwumli |
| Keywords | blob, polyfill, canvas |

## Links

- npm: https://www.npmjs.com/package/canvas-toBlob
- Repository: https://github.com/eligrey/canvas-toBlob.js
- Homepage: https://github.com/eligrey/canvas-toBlob.js#readme
- Issues: https://github.com/eligrey/canvas-toBlob.js/issues
- npm.io page: https://npm.io/package/canvas-toBlob

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-12-01

## README

# canvas-toBlob.js

A canvas.toBlob() implementation  

## Introduce  

canvas-toBlob.js implements the standard HTML5 [`canvas.toBlob()`][1] and
`canvas.toBlobHD()` methods in browsers that do not natively support it. canvas-toBlob.js
requires `Blob` support to function, which is not present in all browsers. [Blob.js][2]
is a cross-browser `Blob` implementation that solves this.


## Supported browsers

canvas-toBlob.js has [the same browser support as FileSaver.js][3].

![Tracking image](https://in.getclicky.com/212712ns.gif)

  [1]: http://www.w3.org/TR/html5/the-canvas-element.html
  [2]: https://github.com/eligrey/Blob.js
  [3]: https://github.com/eligrey/FileSaver.js#supported-browsers

## License
This project is licensed under MIT.

---
_Source: https://npm.io/package/canvas-toBlob · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
