{"library":"rest-contracts-express-server","type":"library","category":null,"description":"A TypeScript library that automatically generates strongly-typed Express route handlers from REST API contracts defined via the rest-contracts package. Version 1.1.3 is the current stable release; no recent updates or defined release cadence. It eliminates manual type mapping by allowing developers to define contracts (method, path, parameters, return type) and then call an implement() method on RestContractsExpressServer, which enforces type safety at compile time and generates Express handlers. Key differentiators: minimal footprint, no code generation step, pure TypeScript compile-time enforcement, and seamless integration with both client and server sides using the same contract definitions. Requires peer dependency rest-contracts@^1.0.8 and Node >=6.9.","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","TypeScript","REST","API","AJAX","rest-contracts","restful","Contract","Types","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rest-contracts-express-server","imports":["import { RestContractsExpressServer } from 'rest-contracts-express-server'","import RestContractsExpressServer from 'rest-contracts-express-server'","const { RestContractsExpressServer } = require('rest-contracts-express-server')"]},{"cmd":"yarn add rest-contracts-express-server","imports":[]},{"cmd":"pnpm add rest-contracts-express-server","imports":[]}],"homepage":"https://github.com/UppaJung/rest-contracts","github":"https://github.com/UppaJung/rest-contracts","docs":null,"changelog":null,"pypi":null,"npm":"rest-contracts-express-server","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}