Skip to content

ovencord/mustache

Repository files navigation

𝗠 𝗨 𝗦 𝗧 𝗔 𝗖 𝗛 𝗘

mustache.js - Logic-less {{mustache}} templates with JavaScript

gzip size install size

Buncord Logo

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.

Why this refactor?

  • Bun-Native & Node-Free: Completely removed the UMD wrapper and legacy Node.js dependencies. No ws, no http, 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.

📦 Bundle Size Comparison

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!

Installation

bun add @ovencord/mustache

Documentation & Credits

Original 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.

About

High-performance, Bun-native refactor of mustache.js. Purged legacy bloat, optimized for raw string rendering with zero-overhead.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors