nanoid 5.0.3

A tiny (116 bytes), secure URL-friendly unique string ID generator

nanoid@5.0.3 was published on 2023-11-06. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is ^18 || >=20.

All nanoid versions · Permanent reference to 5.0.3 · Latest release

Package specifications

Version5.0.3
License declarationMIT
Published2023-11-06T05:22:15.512Z
Node.js requirement^18 || >=20
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size10.64 KiB
Published file count11
Package typemodule
ES module entryNot declared
Default entryNot declared
Side effects declarationfalse
Direct advisories4
Resolved graph dependencies0
Repository stars27114
Repository forks896

Install nanoid 5.0.3

npm install nanoid@5.0.3
pnpm add nanoid@5.0.3
yarn add nanoid@5.0.3

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.

    Known direct advisories

    OpenSSF repository checks

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

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

    Evidence and freshness