clsx

v1.1.1

A tiny (228B) utility for constructing className strings conditionally.

MIT
Latest version published 2 years ago
    npm install clsx
  

Package Health Score

70 / 100

Security

No known security issues
Powered by Snyk
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
1.1.1 | 05/2020
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
1.0.4 | 04/2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
0.0.1 | 12/2018
  • 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.

# Install the Snyk CLI and test your project
npm i snyk -g && snyk test clsx
Get started free

Popularity

Key ecosystem project

Weekly Downloads (6,621,212)

Download trend
Dependents
1.48K
GitHub Stars
3.22K
Forks
58
Contributors
6

Direct Usage Popularity

TOP 5%

The npm package clsx receives a total of 6,621,212 downloads a week. As such, we scored clsx popularity level to be Key ecosystem project.

Based on project statistics from the GitHub repository for the npm package clsx, we found that it has been starred 3,221 times, and that 1,484 other projects in the ecosystem are dependent on it.

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

Community

Limited
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
6
Funding
Yes

This project has seen only 10 or less contributors.

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


Embed Package Health Score Badge

package health: 70/100 package health 70/100

Maintenance

Inactive

Commit Frequency

No Recent Commits
Open Issues
2
Open PR
5
Last Release
2 years ago
Last Commit
1 year ago

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

An important project maintenance signal to consider for clsx is that it hasn't seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.

In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.

Package

Node.js Compatibility
>=6

Age
3 years
Dependencies
0 Direct
Versions
9
Install Size
6.28 kB
Dist-tags
1
# of Files
7
Maintainers
1
TS Typings
Yes

clsx 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.