# ts-rest

TypeScript library that defines an API contract shared by client and server, with type-safe client and server helpers.


Source: https://findsoftware.frbit.cloud/ts-rest/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://ts-rest.com/
- repository: https://github.com/ts-rest/ts-rest
- docs: https://ts-rest.com/quickstart

### Identity

- status: discontinued
- maintainer: Oliver Butler
- maintainerType: individual
- parent: unknown
- firstRelease: 2022
- hqCountry: unknown

### Kind

- category: backend
- hosting: unknown
- language: javascript
- runtime: unknown
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: unknown
- i18n: unknown

### Rendering and deploy

- runsAs: unknown
- renderingModes: unknown
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 3
- latestReleaseDate: 2025-03-04

### Adoption

- githubStargazers: 3339
- packagistDownloads: not applicable
- npmWeeklyDownloads: 994251
- contributors: 80
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- status: https://github.com/ts-rest/ts-rest/blob/main/README.md (read 2026-11-16)
- status: https://api.github.com/repos/ts-rest/ts-rest (read 2026-11-16)
- urls: https://ts-rest.com/ (read 2026-11-16)
- urls: https://api.github.com/repos/ts-rest/ts-rest (read 2026-11-16)
- urls: https://ts-rest.com/quickstart (read 2026-11-16)
- maintainer: https://github.com/ts-rest/ts-rest/blob/main/LICENCE (read 2026-11-16)
- maintainerType: https://github.com/ts-rest/ts-rest/blob/main/README.md (read 2026-11-16)
- language: https://api.github.com/repos/ts-rest/ts-rest (read 2026-11-16)
- category: https://github.com/ts-rest/ts-rest/blob/main/README.md (read 2026-11-16)
- installMethod: https://ts-rest.com/quickstart (read 2026-11-16)
- license: https://api.github.com/repos/ts-rest/ts-rest (read 2026-11-16)
- licenseModel: https://github.com/ts-rest/ts-rest/blob/main/README.md (read 2026-11-16)
- firstRelease: https://api.github.com/repos/ts-rest/ts-rest/releases?per_page=100 (read 2026-11-16)
- currentMajor: https://api.github.com/repos/ts-rest/ts-rest/releases/latest (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/ts-rest/ts-rest/releases/latest (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/ts-rest/ts-rest (read 2026-11-16)
- contributors: https://api.github.com/repos/ts-rest/ts-rest/contributors?per_page=1 (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@ts-rest/core (read 2026-11-16)

## Notes

ts-rest is a TypeScript library that defines an API contract shared by client and server, with type-safe client and server helpers. It is installed from npm as @ts-rest/core, and its quickstart describes that package as the core, with a basic fetch-based client. The project's FAQ compares it with tRPC. The same repository holds adapters for Express, Nest, Fastify, Next and React Query.

The homepage says the contracts can use Standard Schema validators, naming Zod, Valibot and ArkType, and that the library can generate OpenAPI documents.

## Worth knowing

The project is no longer maintained, as its README and homepage state. Both say that forks are welcome, and the repository is archived.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
