# ts-rest: 1.7 out of 10

Do not start with it. 10th of 10 in [RPC and GraphQL libraries](https://elestia.ai/opensource/api-layers/index.md).

ts-rest lets you write a typed contract for a plain REST API and get a typed client and server from it. Its repository was archived on 26 October 2026, and the README says it is no longer maintained: no V4, bug fixes or security updates. Its last stable release is v3.52.1 from March 2025, and that release does not support Zod 4. For new work, pick oRPC (contract-first REST with OpenAPI) or tRPC instead.

**Best for:** Teams that already run ts-rest and need time to plan a move to oRPC or to a fork. It is not for new projects.

## Scores

- **Overall: 1.7** (likely 1.0 to 2.7)
  - Claude Opus 5.5 (1.5): The project is archived and has declared itself unmaintained. Its stable release is stuck before Zod 4. oRPC covers the same contract-first REST and OpenAPI job and is under active development. Keep ts-rest only where it already runs, and plan to migrate.
  - GPT-6.2 Sol (1.9): Stable 3.52.1 still works for shared TypeScript REST contracts, and existing teams can keep running it on a compatible stack. The archive and end of security updates make it a poor choice for new work. oRPC is the stronger choice for the same job, with current releases, contract-first REST, and Zod 4 OpenAPI support.
- **Needed by many: 5.2** (likely 4.1 to 6.3)
  - Claude Opus 5.5 (5.0): Many TypeScript teams that build full-stack apps or REST APIs want typed contracts between client and server. ts-rest's REST-shaped take serves a large part of that group, including teams that need a public REST API that tRPC does not fit. It is framework-agnostic, but it needs TypeScript on both ends.
  - GPT-6.2 Sol (5.3): A shared REST contract fits TypeScript web and mobile projects, especially when a team wants to add typing to existing endpoints. Several server adapters and standard HTTP make it usable across stacks. Its scope is limited to REST, and surveys give only indirect evidence of how many teams need this particular setup.
- **Helps a lot: 5.3** (likely 4.2 to 6.3)
  - Claude Opus 5.5 (4.0): The design was good: contracts, typed clients and adapters for several frameworks. But the stable version is stuck on Zod 3, and the Zod 4 release candidate is reported not to compile with stable Zod 4. oRPC now does the same contract-first REST job with built-in OpenAPI and more schema libraries, so it is clearly better for most people.
  - GPT-6.2 Sol (6.5): Stable 3.52.1 gives clients status-specific response types and lets the same contract drive server handlers and OpenAPI output. The stable release uses Zod 3, while parts of the quickstart show schema support that only reached a release candidate. That makes examples easy to misapply, and editor performance evidence comes mainly from individual projects.
- **Holds up over time: 0.6** (likely 0.0 to 1.5)
  - Claude Opus 5.5 (0.5): The repository was archived on 26 October 2026, and the README says there will be no releases, fixes or security updates. There was one commit and no releases in the last year. Users report that issues went unanswered for months before the archive. Forks may appear, but none is an established successor.
  - GPT-6.2 Sol (0.6): The repository was archived in October 2026, and upstream ended support and cancelled v4. The last stable release was in March 2025, while oRPC and tRPC continue to ship releases. The maintenance decision makes the range narrow, though ordinary HTTP makes it easier to move an existing API.
- **Used widely: 3.9** (likely 2.7 to 5.1)
  - Claude Opus 5.5 (4.0): It has 4.0M downloads in 4 weeks, up from 0.87M a year ago. That is a ratio of about 4.7, a little above the 4.1 median. ecosyste.ms finds only 23 dependent repos, far fewer than tRPC (5,111) or TypeGraphQL (7,054). Now that the project is archived, the share of new projects choosing it should fall.
  - GPT-6.2 Sol (3.8): Four-week installs grew about 4.66 times year over year, modestly ahead of the 4.1 catalog baseline and behind both tRPC and oRPC. The 23 indexed dependent repositories and 21 packages, along with sparse public discussion, point to a smaller footprint than 4 million installs might suggest. Repeated installs and partial dependent coverage leave the number of projects choosing it uncertain.
- **Vouched for: 3.0** (likely 1.8 to 4.4)
  - Claude Opus 5.5 (2.5): There are some write-ups from teams that used it, and oRPC names it as an inspiration. No large company or framework is known to back it today. The main recent independent source is a user writing about the project going dormant.
  - GPT-6.2 Sol (3.4): openJII used ts-rest across a deployed API and its web and mobile clients, then replaced it with oRPC. An independent developer credited the shared contract and OpenAPI support but chose oRPC for a new project. Current production endorsements and survey evidence specific to ts-rest are sparse, leaving a wide range.
- **Safe: 5.2** (likely 3.8 to 6.6)
  - Claude Opus 5.5 (5.0): The core package has zero dependencies, no known advisories and an MIT licence, so the attack surface is small. But the maintainers have said no security updates will come, so any future flaw will stay unfixed. There is no Scorecard data.
  - GPT-6.2 Sol (5.4): The MIT-licensed core declares zero regular dependencies, and the advisory snapshot lists zero known issues. GitHub Actions published the last stable GitHub release, but the available evidence leaves npm publisher access and Scorecard checks unverified. The security policy explicitly ends updates and active monitoring of reports, so future issues are likely to need downstream fixes.

## Good

- A single contract file gives typed REST routes for the client and the server, using normal HTTP methods and paths.
- The core package has zero runtime dependencies and an MIT licence.
- It has adapters for Express, Nest, Next.js, Fastify and React Query, so it can be added to an existing REST API bit by bit.
- No security advisories have ever been published for it.

## Bad

- The repository is archived, and the maintainers say there will be no more bug fixes or security updates.
- The stable release does not support Zod 4, and the 3.53 release candidate is reported not to compile with stable Zod 4.
- The planned V4 was never finished, so users must fork it or migrate.
- OpenAPI support is only partial compared with oRPC's built-in OpenAPI support.

## The numbers

- Downloads, 4 weeks: 4M
- In a year: ×4.7
- GitHub stars: 3.3k
- Commits, 12 months: 1
- Last npm release: Mar 2025
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/ts-rest/ts-rest
- npm: https://www.npmjs.com/package/@ts-rest/core

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
