ts-pattern

v5.6.0

The exhaustive Pattern Matching library for TypeScript. For more information about how to use this package see README

Latest version published 6 days ago
License: MIT

Ensure you're using the healthiest npm packages

Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice

Package Health Score

88 / 100

Explore Similar Packages

Security

No known security issues
All security vulnerabilities belong to production dependencies of direct and indirect packages.

Security and license risk for significant versions

All Versions
Version Vulnerabilities License Risk
5.6.0 | 12/2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
5.5.0 | 10/2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
4.3.0 | 05/2023
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
3.3.5 | 01/2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
3.2.5 | 08/2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
License
MIT
Security Policy
No

Is your project affected by vulnerabilities?

Scan your projects for vulnerabilities. Fix quickly with automated fixes. Get started with Snyk for free.

Get started free

Popularity

Key ecosystem project

Weekly Downloads (1,609,566)

Download trend
GitHub Stars
12.64K
Forks
135
Contributors
30

Direct Usage Popularity

TOP 5%

The npm package ts-pattern receives a total of 1,609,566 downloads a week. As such, we scored ts-pattern popularity level to be Key ecosystem project.

Based on project statistics from the GitHub repository for the npm package ts-pattern, we found that it has been starred 12,637 times.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

Sustainable
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
30
Funding
No

With more than 10 contributors for the ts-pattern repository, this is possibly a sign for a growing and inviting community.

We found a way for you to contribute to the project! Looks like ts-pattern is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 88/100 package health 88/100

Maintenance

Healthy

Commit Frequency

Open Issues
39
Open PR
13
Last Release
6 days ago
Last Commit
6 days ago

Further analysis of the maintenance status of ts-pattern based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Healthy.

We found that ts-pattern demonstrates a positive version release cadence with at least one new version released in the past 3 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Package

Node.js Compatibility
not defined

Age
5 years
Dependencies
0 Direct
Versions
154
Install Size
417 kB
Dist-tags
3
# of Files
45
Maintainers
1
TS Typings
No

ts-pattern has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.