mustache.js - Logic-less {{mustache}} templates with JavaScript
A high-performance, bulk refactor of the legendary mustache.js, re-engineered specifically for the Bun runtime.
Stop carrying the weight of 2015. @ovencord/mustache is a stripped-down, pure ESM version that purges a decade of legacy bloat to deliver the fastest string templating experience on Bun.
- Bun-Native & Node-Free: Completely removed the UMD wrapper and legacy Node.js dependencies. No
ws, nohttp, no emulated layers. - High-Speed Raw Rendering: Optimized for speed by removing HTML escaping overhead. It serves your data raw, exactly as you need it for high-frequency tasks like Discord transcripts.
- Zero-Dependency Supply Chain: Purgated 300MB+ of
devDependencies(Puppeteer, Mocha, etc.) from the source. The repo is now clean, safe, and lightning-fast to install.
| Package | Unpacked Size | Dependencies | Total Install |
|---|---|---|---|
| mustache | ~111 kB | Legacy Bloat | ~111 kB |
| @ovencord/mustache | ~28 kB | NONE | ~28 kB |
~79% smaller than the original!
bun add @ovencord/mustacheOriginal logic and architecture by Jan Lehnardt (janl). For full usage instructions, refer to the official documentation. Refactored, optimized, and maintained for the Bun ecosystem by Luigi Colantuono.
