{"library":"rest-in-model","type":"library","category":null,"description":"RestInModel is a TypeScript-first model-based REST consumer library that maps API responses directly to class instances via decorators. Version 2.1.1 supports ESM and CJS, with no breaking changes from v2.0. It differentiates by allowing declarative API model definitions with automatic type coercion, relation handling, and base URL configuration. Ideal for structured API clients where type safety and model transformation are priorities.","language":"javascript","status":"active","version":"2.1.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rest-in-model","imports":["import { RestInModel } from 'rest-in-model'","import { Model } from 'rest-in-model'","import { Field } from 'rest-in-model'","import { HasMany } from 'rest-in-model'"]},{"cmd":"yarn add rest-in-model","imports":[]},{"cmd":"pnpm add rest-in-model","imports":[]}],"homepage":"https://github.com/enginustun/rest-in-model#readme","github":"https://github.com/enginustun/rest-in-model","docs":null,"changelog":null,"pypi":null,"npm":"rest-in-model","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}