Skip to content

mario-huang/durian.js

Repository files navigation

durian.js

What is durian.js?

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.

How fast is durian.js?

  • Development Speed: durian.js can be up to 16 times faster than NestJS in development.
build start
image image
test test:cov
image image
  • 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
image image

How to use durian.js

It's simple, just run

bun create mario-huang/durian.js

After that, you can continue using NestJS as usual.

Migrate from NestJS to durian.js

This is the best part, you don't need to modify any source code! Simply replace your package.json and tsconfig.json with the ones from durian.js.