Typescript Full Stack APIsAt The Speed Of Light ⚡

mion is the definitive TypeScript Framework for Full Stack APIs.
It offers The best Developer Experience for building Single Page Apps.

Mion Features

RPC Like

RPC architecture for simpler and easier to consume APIs. Just use remote methods as any other local async method.
mion is focused on offering the best developer experience.


Fully validation adn serialization of params and results out of the box.

mion-router.ts
Error: [POST] "/api/twoslash": 500 Server Error

Fully Typed Client

Fully typed client that seamlessly bridges frontend and backend with static type checking, autocompletion, automatic validation and serialization.


Lightweight and framework-agnostic — use it with React, Vue, Svelte, or any frontend framework.

mion-client.ts
Error: [POST] "/api/twoslash": 500 Server Error

Routes Flows

Execute multiple routes in a single HTTP request. Batch API calls together, and Orchestrate router logic from the client.


GraphQL-like data composition with the simplicity of RPC — resolve relationships in a single request using serverMapFrom.
mion-routesFlow.ts
Error: [POST] "/api/twoslash": 500 Server Error

RunTypes ©

mion use RunTypes behinds the scene to generate JIT-compiled validation and serialization functions directly from TypeScript types. RunTypes supports advanced type formats and can be used as a standalone library.


No schemas libraries needed — Typescript is the single source of truth.

mion-run-types.ts
Error: [POST] "/api/twoslash": 500 Server Error

Drizzle ORM

Auto-generate Drizzle ORM table schemas directly from types using reflection.
Simply extends your types with SQL/Drizzle specific configuration.

Keep DB and Validation/Serialization logic separated.

mion-drizzle.ts
Error: [POST] "/api/twoslash": 500 Server Error

Binary Serialization 🚀

Our binary protocol is designed to support al Typescript features: unions, optional props, rest params, circular types and any type you can think about!

Achieve smaller payloads and faster data transfer with automatic binary serialization for Dates, BigInts, Maps, Sets, and complex nested types.

Seamless Integration

Most modern stacks are tools glued together — validation, routing, serialization, client generation — all wired manually. mion replaces that with a single integrated system, reducing boilerplate, inconsistencies, and maintenance overhead.

Solid Performance

  • RPC-style routing - No URL parsing or regex matching, just direct in-memory Map lookup
  • JIT-compiled validation/serialization - RunTypes generates optimized functions at startup
  • Fast cold starts - Load routes in demand, no need to load all routes and jit functions at startup
  • Lightweight architecture - Simple request/response handling

 

Copyright © 2026