npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@morojs/moro

v1.7.20

Published

High-performance Node.js framework with intelligent routing, automatic middleware ordering, enterprise authentication (Auth.js), type-safe validation, and functional architecture

Readme

Moro

Moro Logo

Modern TypeScript framework with intelligent routing, ESM, and extreme performance

npm version License: MIT Node.js Version

WebsiteDocumentationQuick StartDiscord


Why MoroJS?

Build high-performance APIs with intelligent routing that automatically orders middleware execution. Deploy anywhere: Node.js, Vercel Edge, AWS Lambda, or Cloudflare Workers - same code, zero configuration.

Key Features:

  • 200k+ req/s - built-in clustering or uWebSockets.js integration (single core)
  • Intelligent Routing - Automatic middleware ordering, no configuration needed
  • Enterprise Auth - Built-in Auth.js with OAuth & RBAC
  • Universal Validation - Works with Zod, Joi, Yup, or Class Validator
  • Message Queues - Production-ready queues (Bull, RabbitMQ, SQS, Kafka)
  • gRPC Support - Native gRPC for high-performance microservices
  • Multi-Runtime - Deploy to Node.js, Edge, Lambda, or Workers
  • Powerful CLI - Scaffold projects, generate modules, deploy with one command
  • Zero Dependencies - Lightweight core with optional integrations

Performance

| Framework | Req/sec | Latency | Memory | Notes | |-----------|---------|---------|--------|-------| | Moro + uWebSockets.js | 200,000+ | 3.93ms | 25MB | Single core | | Moro (Clustering) | 190,000+ | 3.62ms | 24MB | Multi-core | | Moro (Standard) | 87,000 | 7.8ms | 14MB | Single core | | Fastify | 38,120 | 2.9ms | 35MB | Single core | | Express | 28,540 | 3.8ms | 45MB | Single core | | NestJS | 22,100 | 4.5ms | 58MB | Single core |

uWebSockets.js achieves multi-core performance on a single core - perfect for WebSockets and serverless. Clustering scales across CPU cores for traditional HTTP workloads.

Quick Start

Install Manually

npm install @morojs/moro
import { createApp, z } from '@morojs/moro';

const app = createApp();

// Intelligent routing - order doesn't matter!
app.post('/users')
   .body(z.object({
     name: z.string().min(2),
     email: z.string().email()
   }))
   .rateLimit({ requests: 10, window: 60000 })
   .handler((req, res) => {
     // req.body is fully typed and validated
     return { success: true, data: req.body };
   });

app.listen(3000);

Or Use the CLI

Scaffold a complete project with auth, database, WebSockets, and deployment ready:

npm install -g @morojs/cli
morojs-cli init my-api --runtime=node --database=postgresql --features=auth,websocket,docs
cd my-api
npm run dev

Learn more at morojs.com/cli

Ultra-High Performance (Optional)

// uWebSockets.js - 200k+ req/s on single core
const app = createApp({
  server: {
    useUWebSockets: true
  }
});

// Or combine with worker thread clustering for even more power
const app = createApp({
  server: {
    useUWebSockets: true
  },
  performance: {
    clustering: {
      enabled: true,
      workers: 4  // or 'auto' for CPU count
    }
  }
});

See uWebSockets Guide

Deploy Everywhere

Same code, multiple platforms:

// Node.js
app.listen(3000);

// Vercel Edge
export default app.getHandler();

// AWS Lambda
export const handler = app.getHandler();

// Cloudflare Workers
export default { fetch: app.getHandler() };

Documentation

📚 Complete guides at morojs.com/docs

Examples

Check out working examples for:

  • REST APIs with validation
  • Real-time WebSocket apps
  • Auth.js integration
  • Multi-runtime deployment
  • Database integration
  • And more...

Why Choose MoroJS?

vs Express - Intelligent middleware ordering eliminates configuration complexity and race conditions

vs Fastify - 4x faster with uWebSockets.js, plus multi-runtime deployment without adapters

vs NestJS - Functional architecture without decorators, 9x faster, 3x less memory

Contributing

Contributions welcome! See CONTRIBUTING.md

License

MIT © Moro Framework Team


Ready to build high-performance APIs?

Get StartedGitHubnpmDiscord