kyranet/canvas-constructor

An ES6 utility for canvas with built-in functions and chained methods.

56
/ 100
Established

Provides a unified API abstraction layer supporting multiple Node.js canvas backends (@napi-rs/canvas, skia-canvas, cairo) alongside browser Canvas via a single chainable interface, eliminating environment-specific code paths. Built-in methods handle common drawing operations (shapes, text, images) with automatic color/font state management. Includes async image loading utilities that work consistently across Node.js and browser environments.

118 stars.

No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 17 / 25

How are scores calculated?

Stars

118

Forks

20

Language

HTML

License

MIT

Last pushed

Mar 16, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/kyranet/canvas-constructor"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.