kyranet/canvas-constructor
An ES6 utility for canvas with built-in functions and chained methods.
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.
Stars
118
Forks
20
Language
HTML
License
MIT
Category
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.
Related tools
elegantapp/pwa-asset-generator
Automates PWA asset generation and image declaration. Automatically generates icon and splash...
vercel/satori
Enlightened library to convert HTML and CSS to SVG
KnpLabs/snappy
PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper...
KnpLabs/KnpSnappyBundle
Easily create PDF and images in Symfony by converting html using webkit
ScientaNL/pdf-extractor
Node.js module for rendering pdf pages to images, svgs, html files, text files and json metadata