Yesterday I published princejs on npm.

  • <2 kB
  • Zero dependencies
  • Native Bun binary
  • Built in 3 days on my school laptop
  • 500+ downloads in <24 hours

Same laptop. Same test. Same autocannon command:

Express → 8,000 requests in 10s

princejs25,000 requests in 10s

benchmark

To Start

npm i princejs or pnpm add princejs 

Then

import { Prince } from "princejs"; const app = new Prince(); app.get("/", () => app.json({ message: "Wassup" })); app.listen(3000); 

That’s it. No bloat. No legacy. Just speed.

Repo: https://github.com/MatthewTheCoder1218/princejs
npm: https://npmjs.com/package/princejs


Source: DEV Community.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.