Supported frameworks

Two editions with the same output: routeman on PyPI for Python APIs, and routeman-cli on npm for Node.js, Bun and Deno APIs. Every guide below includes real routeman output.

JavaScript & TypeScript

npx routeman-cli · Node.js 18.3+, Bun or Deno

Everything routeman-cli understands

routeman-cli reads your source files the way the framework would wire them up. It follows imports, routers, mounts, plugins, controllers and decorators, and it never runs your code.

FrameworkWhat routeman-cli understands
Express 4 / 5Router(), app.use(prefix, router), router.route().get().post(), sub-apps, router factories, routes registered in loops or loaded with fs.readdirSync/glob, *splat
Fastify 4 / 5register(plugin, { prefix }), @fastify/autoload (folder prefixes, _param dirs), fastify-plugin, decorate, addHook, route({...}), JSON Schema and TypeBox
NestJSControllers, global prefix, URI versioning (@Version), RouterModule, DTOs (class-validator and @ApiProperty), PartialType/PickType/OmitType, pipes, FileInterceptor, guards incl. global APP_GUARD and @Public()
Koa@koa/router / koa-router: nesting, prefix, named routes, koa-mount
HonoSub-apps, route(), basePath(), on(), chained routes, path-scoped middleware, @hono/zod-validator, @hono/zod-openapi
Elysia (Bun)group, guard, plugins, prefix, t.* schemas, .model() references, beforeHandle / derive auth
Hapiserver.route, plugins with routes.prefix, Joi validate, auth strategies, auth: false
Next.jsApp Router route.ts (route groups, dynamic segments), Pages Router pages/api, next-connect, basePath
Nuxt / Nitro / h3server/api, server/routes, [id].get.ts naming, readBody, getQuery, readValidatedBody, auto-imported utils
SvelteKit, Astro, Remix / React Router+server.ts, API endpoints, resource routes (loader / action)
AdonisJS 6router.group().prefix().use(), resource().apiOnly(), lazy controllers, VineJS validators, request.input()
Decorator frameworksrouting-controllers, tsoa, inversify-express-utils, LoopBack 4
MoreRestify, Polka, tinyhttp, ultimate-express, hyper-express, itty-router, Feathers services, Oak (Deno), Bun.serve({ routes }), Deno.serve, plain node:http servers that compare req.url / req.method
Anything else--openapi <file or URL> builds the collection from an OpenAPI 3 / Swagger 2 document (JSON or YAML)

Request bodies come from zod (v3/v4), Joi / celebrate, yup, TypeBox / Elysia t, valibot, VineJS, express-validator, JSON Schema, class-validator DTOs, TypeScript types, Mongoose / Prisma / Sequelize / TypeORM models when the body goes straight to the database, and finally the handler code itself. Read the Node.js docs →