I believe that NestJS is the most powerful and efficient API development framework on Node.js.
Durian.js builds on the strengths of NestJS, running on Bun, and is designed with speed in mind — both in development and runtime performance.
- Development Speed: durian.js can be up to 16 times faster than NestJS in development.
build | start |
---|---|
![]() |
![]() |
test | test:cov |
---|---|
![]() |
![]() |
- Runtime Performance and Latency: durian.js achieves up to 4 times the throughput of NestJS, handling over 60,000 requests per second compared to NestJS’s 15,000, while also reducing average response times from 0.0033 seconds to 0.0008 seconds.
NestJS | durian.js |
---|---|
![]() |
![]() |
To create a new Durian.js project, run:
bun create mario-huang/durian.js my-project
This will create a new directory called my-project
with the latest Durian.js template. You can then continue using NestJS as usual with Bun's speed advantages.
This is the best part - no source code modifications needed! To migrate an existing NestJS project:
- Backup your current
package.json
andtsconfig.json
- Replace them with the versions from Durian.js
- Run
bun install
to update dependencies
You'll maintain full NestJS compatibility while gaining Bun's performance benefits.