tsed
:triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!
Automatically checked · GitHub checked 2026-11-12

Overview
Ts.ED is a modern Node.js framework built with TypeScript. It offers a flexible structure with a fast learning curve, specifically designed to improve the developer experience. Ts.ED provides numerous decorators and guidelines to make your code more readable and less error-prone. It supports various platforms and tools, including Node.js/Bun.js, Express.js/Koa.js, CLI, and serverless architectures (e.g., AWS). - Multi-platform: Easily build your server-side application using Express.js, Koa.js, CLI, or serverless platforms (e.g., AWS). It supports both Node.js and Bun.js runtimes. Learn more here. - Configuration: Stop wasting time on configuration—your application comes preconfigured for a fast start! Try our CLI. - Decorators: Use a wide range of decorators to structure your code, define routes, and implement methods with ease. Learn more here. - Class-based: Define classes as Controllers, Models, Providers (DI), Pipes, and more, with JSON Schema and OpenAPI at the core of the framework. - Testing: Testing is not optional—it's essential! Ts.ED includes built-in features to make testing your code simple and efficient. Learn more here. - Support TypeORM, Mongoose, GraphQL, Socket.io, Swagger-ui, Passport.js, etc... - Define class as Controller, - Define class as Service (IoC), - Define class as Middleware and MiddlewareError, - Define class as Json Mapper (POJ to Model and Model to POJ), - Define root path for an entire controller and versioning your Rest API, - Define as sub-route path for a method, - Define routes on GET, POST, PUT, DELETE and HEAD verbs, - Define middlewares on routes, - Define required parameters, - Inject data from query string, path parameters, entire body, cookies, session or header, - Inject Request, Response, Next object from Express request, - Template (View), - Testing. To run your server, you have to use Platform API to bootstrap your application with the expected platform like Express. This is a simple controller to expose user resource. It use decorators to build the endpoints: