{"library":"ts-retrofit","type":"library","category":null,"description":"ts-retrofit is a declarative HTTP client library for JavaScript and TypeScript, inspired by Java's Retrofit. Built on top of axios, it uses TypeScript decorators like @GET, @POST, @Path, @Body to define API endpoints cleanly. Version 1.19.1 is current, with a stable release cadence (last few releases in 2020-2021). Key differentiators: strong type safety, axios under the hood for flexibility, and a service builder pattern. Compared to alternatives like swagger-typescript-api, it offers simpler setup and runtime decorators.","language":"javascript","status":"maintenance","version":"1.19.1","tags":["javascript","retrofit","ts","js","axios","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ts-retrofit","imports":["import { GET } from 'ts-retrofit'","import { BaseService } from 'ts-retrofit'","import { ServiceBuilder } from 'ts-retrofit'"]},{"cmd":"yarn add ts-retrofit","imports":[]},{"cmd":"pnpm add ts-retrofit","imports":[]}],"homepage":"https://github.com/nullcc/ts-retrofit#readme","github":"https://github.com/nullcc/ts-retrofit","docs":null,"changelog":null,"pypi":null,"npm":"ts-retrofit","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}