clsx 1.0.0

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

clsx@1.0.0 was published on 2018-12-25. Its manifest declares 0 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=6.

All clsx versions · Permanent reference to 1.0.0 · Latest release

Package specifications

Version1.0.0
License declarationMIT
Published2018-12-25T09:17:37.860Z
Node.js requirement>=6
Type declarationsNot declared
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size5.00 KiB
Published file count6
Package typeNot declared
ES module entrydist/clsx.mjs
Default entrydist/clsx.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies0
Repository stars9850
Repository forks188

Install clsx 1.0.0

npm install clsx@1.0.0
pnpm add clsx@1.0.0
yarn add clsx@1.0.0

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

    How to interpret the specifications

    Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

    Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

    OpenSSF repository checks

    Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

    Code-Review2/10 — Found 7/30 approved changesets -- score normalized to 2
    Binary-Artifacts10/10 — no binaries found in the repo
    Maintained0/10 — 0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
    Dangerous-Workflow10/10 — no dangerous workflow patterns detected
    Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
    Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Security-Policy0/10 — security policy file not detected
    Fuzzing0/10 — project is not fuzzed
    License10/10 — license file detected
    Branch-Protection0/10 — branch protection not enabled on development/release branches
    SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

    Evidence and freshness