# canvas-roundrect-polyfill

> CanvasRenderingContext2D.roundRect() and Path2D.roundRect() polyfill

Latest version **0.0.1** (published 2022-03-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install canvas-roundrect-polyfill
pnpm add canvas-roundrect-polyfill
yarn add canvas-roundrect-polyfill
bun add canvas-roundrect-polyfill
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2022-03-15 |
| First published | 2022-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Maintainers | kaiido |
| Keywords | canvas, polyfill, roundRect |

## Links

- npm: https://www.npmjs.com/package/canvas-roundrect-polyfill
- Repository: https://github.com/Kaiido/roundRect
- Homepage: https://github.com/Kaiido/roundRect#readme
- Issues: https://github.com/Kaiido/roundRect/issues
- npm.io page: https://npm.io/package/canvas-roundrect-polyfill

## 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

- 0.0.1 (latest) — 2022-03-15

## README

# roundRect
## CanvasRenderingContext2D.roundRect() and Path2D.roundRect() polyfills

Implements the .roundRect() method of the CanvasPath mixin as introduced by https://github.com/whatwg/html/pull/6765

Currently passes all [related WPT tests](https://github.com/web-platform-tests/wpt/tree/master/html/canvas/element/path-objects).

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