Vigia

npm · npm:ts-pattern

ts-pattern active

The exhaustive Pattern Matching library for TypeScript.

The latest stable version of ts-pattern is 5.9.2, published on 2026-10-14. Verified by Vigia on 2026-11-12.

Latest stable version5.9.2
Published2026-10-14 09:03:33 UTC
Installnpm install ts-pattern@latest
Requires (engines)none declared
Peer dependencies—
Dist-tagsnext: 5.1.1-rc.0 test: 4.2.4-test.1 latest: 5.9.2
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 13:51:07 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Maintenance

Activityactive
Last stable release2026-10-14 09:03:33 UTC · 29 days ago
Stable releases in the last 12 months2
Published versions161

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
5.9.22026-10-14 09:03:33 UTC
5.9.12026-10-13 12:30:08 UTC
5.9.02025-10-26 13:58:13 UTC
5.8.02025-07-26 13:43:55 UTC
5.7.12025-05-18 13:44:09 UTC
5.7.02025-03-28 20:34:38 UTC
5.6.22025-01-21 02:48:06 UTC
5.6.12025-01-19 15:15:13 UTC
5.6.02024-12-15 17:39:24 UTC
5.5.02024-10-14 03:05:25 UTC
5.4.02024-09-25 22:16:49 UTC
5.3.12024-08-11 20:25:37 UTC
5.3.02024-08-11 20:20:59 UTC
5.2.02024-06-12 12:30:26 UTC
5.1.22024-05-23 14:43:04 UTC
5.1.12024-04-06 21:42:33 UTC
5.1.02024-03-31 20:39:33 UTC
5.0.82024-02-15 15:20:14 UTC
5.0.72024-02-15 15:17:48 UTC
5.0.62023-12-03 02:25:01 UTC

Showing the 20 most recent of 98 versions. JSON

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What is the latest version of ts-pattern?

The latest stable version of ts-pattern is 5.9.2, published on 2026-10-14. Verified by Vigia on 2026-11-12.

How do I install the latest version of ts-pattern?

Run npm install ts-pattern@latest. The latest stable version is 5.9.2 (verified 2026-11-12).

Is ts-pattern deprecated?

No. ts-pattern is not marked as deprecated in the registry.

Which Node.js version does ts-pattern require?

ts-pattern 5.9.2 does not declare a Node.js version requirement.

Does ts-pattern 5.9.2 have known vulnerabilities?

No known advisories affect ts-pattern 5.9.2 according to the data Vigia checks.

Is ts-pattern still maintained?

ts-pattern published 2 stable releases in the last 12 months; the most recent was 29 days ago. Activity: active.

Observed changes

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/ts-pattern/version.svg)](https://vigia.coredls.cloud/npm/ts-pattern)
[![maintained](https://vigia.coredls.cloud/badge/npm/ts-pattern/maintained.svg)](https://vigia.coredls.cloud/npm/ts-pattern)
[![status](https://vigia.coredls.cloud/badge/npm/ts-pattern/status.svg)](https://vigia.coredls.cloud/npm/ts-pattern)

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/ts-pattern
GET https://vigia.coredls.cloud/v1/packages/npm/ts-pattern/versions/{version}