ThanhHoa is a modern, TypeScript-based web framework built specifically for Bun, focusing on performance, decorator-based architecture.
- 🚀 High Performance: Built on Bun's runtime for maximum speed
- 🎭 TypeScript First: Full type safety and modern development experience
- 🧩 Modular Architecture: Easy-to-use decorators and dependency injection
- 🛣️ Smart Routing: Advanced routing with parameter support
- 🔒 Built-in Security: CORS, Helmet, and rate limiting included
- 🗄️ Caching: Built-in LRU cache for routes and static files
- ⚡ Fast Static File Serving: Optimized static file delivery
Install ThanhHoa using Bun:
bun add @thanhhoajs/thanhhoa
Handling 10,000 concurrent requests:
- Average Latency: 0.57ms
- Memory Usage: 0.01 MB
ThanhHoa is designed for high-throughput applications, offering sub-1ms response times and minimal memory usage.
Setup: Simple GET route (/test
) over 5,000 iterations, 2 requests per iteration—showcasing its stability and lightweight nature. 🚀✨
Nguyen Nhu Khanh kwalker.nnk@gmail.com