Blazing Fast Backend Framework

Build high-performance APIs with minimal effort

Jetpath is a modern Node.js framework designed for speed and developer productivity. Build robust, type-safe APIs with elegant syntax and unmatched performance.

Basic
Websocket
Advanced
import { type JetFunc, Jetpath } from "jetpath";

const app = new Jetpath();

app.listen();

// this goes to = get /
export const GET_: JetFunc = function (ctx) {
  ctx.send("hello world!");
};
import { Jetpath } from "jetpath";

const app = new Jetpath();

export const WS_room: JetFunc = (ctx) => {
  const conn = ctx.connection!;

  conn.addEventListener("open", (socket) => {
    socket.send("😎 Welcome to jet chat");
  });

  conn.addEventListener("message", (socket, event) => {
    socket.send("message received");
  });
};
export const POST_auth_login: JetFunc = async function (ctx) {
  await ctx.json();
  const { username, password } = ctx.validate(ctx.body);
  
  const authResult = ctx.plugins.authenticateUser(username, password);
  
  if (!authResult.authenticated) {
    ctx.code = 401;
    ctx.send({ status: "error", message: authResult.message });
    return;
  }
  
  ctx.send({
    status: "success",
    message: "Authentication successful",
    token: authResult.token,
    user: {
      id: authResult.user.id,
      username: authResult.user.username,
      role: authResult.user.role
    }
  });
};

POST_auth_login.body = {
  username: { type: "string", required: true, err: "Username is required" },
  password: { type: "string", required: true, err: "Password is required" }
};
Terminal
$ npm install jetpath
$ npx jetpath init my-api
✓ Creating project structure...
✓ Installing dependencies...
✓ Configuring TypeScript...
🚀 Project created successfully!
$ cd my-api && npm run dev
🔥 Jetpath server running at http://localhost:3000

Engineered for Speed

Jetpath is blazingly fast. We benchmark continuously to ensure top-tier performance.

Very Close Tie

Requests per second on a standard benchmark:

Jetpath ~7519.36 req/s
Elysia ~9569.38 req/s

*initial benchmark. more benchmarks coming soon.

Feature-rich Developer Experience

Jetpath is designed to make backend development enjoyable with powerful built-in features that boost productivity.

Lightning Fast

Built with performance in mind from day one. Jetpath handles thousands of requests per second with minimal latency and resource usage.

Intuitive API

Clean, elegant syntax that makes developing complex applications straightforward. Express your business logic clearly without boilerplate.

Built-in Validation

Stop worrying about malformed data. Jetpath's built-in validation ensures your API only receives what it expects, with automatic TypeScript integration.

Modular Architecture

Organize your application with route groups, modules, and middleware. Build complex applications that remain maintainable as they grow.

Zero Compromise

Get both developer experience and runtime performance. No need to choose between productivity and speed - Jetpath delivers both.

Typescript-First

Experience perfect type safety from HTTP request to response. Catch errors before runtime with full TypeScript integration.

Why Choose Jetpath

Jetpath combines the best ideas from popular frameworks while avoiding their pitfalls. Experience backend development without compromises.

Feature Jetpath Elysia Express Fastify
Performance Ultra-fast Ultra-fast Fast Moderate
TypeScript Support First-class First-class Good Good
Built-in Validation Yes Yes Yes Yes
Learning Curve Low Medium Medium High
Bundle Size < 28KB Medium Medium Large
WebSocket Support Built-in Plugin Plugin Built-in
Cross-runtime support Built-in No No No

Unmatched Performance

When speed matters, Jetpath delivers.

84,200
Jetpath
52,396
Fastify
14,201
Express

Requests per second (higher is better)

Rich Ecosystem

Jetpath comes with everything you need to build modern web applications and APIs.

Jetpath CLI

Scaffold projects and generate code with our powerful command-line tool.

Authentication

Built-in authentication with support for JWT, OAuth, and more.

Deployment

Deploy to any environment with Docker, serverless, and cloud platform integrations.

Ready to build something amazing?

Join number of developers who have already chosen Jetpath for their next and existing projects.