MoroJS Documentation
Build high-performance, type-safe APIs with intelligent routing and a zero-friction developer experience — production-ready features out of the box.
Quick Start
1
Scaffold your project
One command — typed, validated, ESM-ready
2
Run it
Dev server with hot reload on port 3000
3
Add a typed route
Open src/index.ts and start building
Why MoroJS?
Enterprise Authentication
Better Auth integration with OAuth, RBAC, and zero dependencies
High Performance
226k+ req/sec with full TypeScript safety
Multi-Runtime
Deploy anywhere: Node.js, Edge, Lambda, Workers
Configuration System
Config files, environment variables, TypeScript support
Explore the Docs
Core Concepts
Intelligent routing, type safety, validation, middleware
Core Systems
Authentication, configuration, OpenAPI docs
Security Middleware
CORS, CSRF, CSP, security headers
Performance Middleware
Caching, compression, rate limiting
Protocols
WebSockets, gRPC, GraphQL, HTTP/2, SSE
Deployment
Node.js, Edge, Lambda, Workers, Docker