day-canvas
v0.0.1
Published
Make configurable canvas easily
Readme
day-canvas — Modified Version
day-canvas is a fork of the Canvafy library by beykant, modified and optimized for modern development with a modular architecture, lightweight design, and full support for ESM and @napi-rs/canvas.
✨ Purpose of the Fork
- 🔧 Replaced the font system with
GlobalFontsfor greater flexibility and easier configuration. - 🧹 Removed all heavy dependencies from the original version to reduce installation overhead.
- ⚙️ Converted the entire code structure from CommonJS (CJS) to full ESM (ECMAScript Modules).
- ♻️ Standardized script types to
.jsfor consistency and compatibility with modern bundlers. - ⬆️ Updated all dependencies to the latest stable and lightweight versions.
⚙️ Installation
npm
npm install day-canvasyarn
yarn add day-canvaspnpm
pnpm install day-canvas✍️ Usage
Please refer to the Documentation for detailed usage instructions.
💡 Supported Features
- 🏆 Rank Card
- 🎉 Welcome & Leave Card
- 🐦 Tweet Card
- 📸 Instagram Post Card
- ✅ Captcha Verification Image
- 🧑💻 Profile Display Card
- 💘 Ship Match Card
- ⭐ Top Leaderboard Card
- ⬆️ Level Up Card
- 🎵 Spotify Now Playing Card
