A lightweight, TypeScript-powered REST API framework built on Express, providing decorator-based controllers, model validation, and a clean separation of concerns. Currently at version 1.1.1, it requires Express >=4 and body-parser 1.x as peer dependencies. Designed for developers who want a structured, scalable API with minimal boilerplate, it leverages TypeScript decorators for defining routes and middleware. Alternative to other decorator-based frameworks like NestJS or ts.express, but with a simpler setup and less opinionated architecture. The package ships TypeScript type definitions. Release cadence appears low, with no recent updates since initial release.
npm install express-easy-restNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a simple REST API with a BookController exposing a GET /api/book/list endpoint using decorators and an ApplicationInstance.
Consider using modern alternatives like NestJS or ts.express for active support.
Add "experimentalDecorators": true and "emitDecoratorMetadata": true to compilerOptions.
Use const app = require('./app').default; or set esModuleInterop: true in tsconfig.Run npm install express-easy-rest express body-parser.
Add "experimentalDecorators": true and "emitDecoratorMetadata": true to tsconfig.json.
Ensure the App class extends ApplicationInstance and is exported as shown in the quickstart.