classnames 2.5.1

A simple utility for conditionally joining classNames together

classnames@2.5.1 was published on 2023-12-29. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.

All classnames versions · Permanent reference to 2.5.1 · Latest release

Package specifications

Version2.5.1
License declarationMIT
Published2023-12-29T15:55:16.013Z
Node.js requirementNot declared
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified size865 B
Minified + gzip484 B
Unpacked distribution size23.03 KiB
Published file count10
Package typecommonjs
ES module entryNot declared
Default entry./index.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies0
Repository stars17771
Repository forks558

Install classnames 2.5.1

npm install classnames@2.5.1
pnpm add classnames@2.5.1
yarn add classnames@2.5.1

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-Review10/10 — all changesets reviewed
    Dangerous-Workflow10/10 — no dangerous workflow patterns detected
    Binary-Artifacts10/10 — no binaries found in the repo
    Maintained4/10 — 5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
    Pinned-Dependencies2/10 — dependency not pinned by hash detected -- score normalized to 2
    Security-Policy0/10 — security policy file not detected
    Fuzzing0/10 — project is not fuzzed
    License10/10 — license file detected
    SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

    Evidence and freshness