Skip to content
devhub.
ExploreCompareSaved
Sign in
DevHubBuilt for curious developers. Data from GitHub.
Back to repositories
Public repository / gvergnaud

ts-pattern

🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.

View on GitHub
15.2KStars
175Forks
79Open issues
30Subscribers

Language distribution

Share of source bytes reported by GitHub

TypeScript100%
Shell<1%
JavaScript<1%

Recent activity

Latest commits on the default branch

Merge pull request #346 from gvergnaud/dependabot/npm_and_yarn/multi-bf05dc1ecfgvergnaud · May 25, 2026Merge pull request #349 from gvergnaud/dependabot/npm_and_yarn/benchmarks/lodash-4.18.1gvergnaud · May 22, 2026Merge pull request #347 from gvergnaud/dependabot/npm_and_yarn/handlebars-4.7.9gvergnaud · May 22, 2026Merge pull request #351 from gvergnaud/dependabot/npm_and_yarn/postcss-8.5.10gvergnaud · May 22, 2026Merge pull request #352 from gvergnaud/dependabot/npm_and_yarn/babel/plugin-transform-modules-systemjs-7.29.4gvergnaud · May 22, 2026build(deps-dev): bump @babel/plugin-transform-modules-systemjsdependabot[bot] · May 9, 2026build(deps-dev): bump postcss from 8.4.31 to 8.5.10dependabot[bot] · Apr 24, 2026build(deps-dev): bump lodash from 4.17.23 to 4.18.1 in /benchmarksdependabot[bot] · Apr 10, 2026build(deps-dev): bump handlebars from 4.7.8 to 4.7.9dependabot[bot] · Mar 27, 2026build(deps): bump picomatchdependabot[bot] · Mar 25, 2026

Project details

Created May 2020 Updated Sep 2026 MIT License
branchingconditionsexhaustiveinferencejavascriptmatchingpatternpattern-matching

Contributors

8
gvergnaud's avatargvergnaud973 commitsdependabot[bot]'s avatardependabot[bot]31 commitsm-rutter's avatarm-rutter11 commitscwrllab's avatarcwrllab5 commitsJUSTIVE's avatarJUSTIVE5 commitsAyc0's avatarAyc03 commitsGGomez99's avatarGGomez99
3 commits
EricCrosson's avatarEricCrosson3 commits