DEV Community

Keenan Olsen
Keenan Olsen

Posted on

Introducing MoroJS: A TypeScript-First API Framework Faster Than Express & Fastify

🚀 Introducing MoroJS: A TypeScript-First API Framework Faster Than Express & Fastify

If you’ve ever built an API with Express or Fastify, you know the drill: boilerplate, validation, middleware juggling, and debugging at scale. They work, but they weren’t designed for today’s TypeScript-first, serverless-heavy world.

That’s why we built MoroJS — a new backend framework that combines speed, type safety, and extensibility into one package.


âš¡ Performance That Speaks for Itself

Benchmarks don’t lie:

  • Hello World: ~68,392 req/sec (about 47% faster than Fastify)
  • Real APIs: ~52,992 req/sec for GET and ~37,863 req/sec for POST + validation
  • Latency: ~4–6ms even under load

👉 See full benchmarks here: MoroJS Benchmarks


🛠 Built for Developers

What makes MoroJS stand out:

  • TypeScript-first → full type safety, no guessing at runtime
  • Serverless-ready → works seamlessly with Cloudflare Workers, AWS Lambda, and Vercel
  • Batteries included → validation, middleware, caching, and rate-limiting out of the box
  • 🔥 CLI → scaffold projects in seconds
# create a new MoroJS project
npx create-moro-app my-api
cd my-api
npm run dev
Enter fullscreen mode Exit fullscreen mode

🧩 The Long Game: MoroJS Modules

The vision goes beyond just a framework. We’re building a modules directory — an ecosystem where you can plug in everything from auth to payments to analytics without reinventing the wheel.

Think of it like an app store for APIs.

📚 Get Started Today

Docs: https://morojs.com/docs

Examples: https://github.com/Moro-JS/examples

🙌 We Want Your Feedback

We’re looking for early adopters to kick the tires and tell us what you think:

What would make you switch from Express/Fastify?

What modules would save you the most time?

Where would you deploy first (Vercel, AWS, Cloudflare)?

Drop your thoughts in the comments — or better yet, try MoroJS on your next project and let us know how it goes.

No one beats this speed right now. Let’s build the future of APIs together.

Top comments (0)