Packages

nanoid

6.0.2 · 5 Oct 2026MIT371.4M / weekRepositoryHomepagenpmAtom feed

Your version

Where each line stands

Plan an upgrade
  • 6.x6.0.2No known advisoryLatest line
  • 5.x5.1.16Safe from 5.1.16To 6.0.2
  • 4.x4.0.24 open advisories, worst high · last release Mar 2023, no longer updatedTo 6.0.2
  • 3.x3.3.20Safe from 3.3.18To 6.0.2
  • 2.x and older2.1.1116 open advisories, worst high · last release Jan 2020, no longer updatedTo 6.0.2

Latest releases

All 135 releases
  1. 6.x · latest line
  2. 6.0.2

    5 Oct 2026
    • Reduced JS bundle size

    • Fixed floats in size of customRandom

    • Fixed performance of customRandom on changes size

  3. 6.0.1

    3 Aug 2026
    • Fixed docs.

  4. 6.0.0

    12 Jul 2026
    • Removed

      Removed Node.js 18 and 20 support.

    • Made nanoid() and customAlphabet() 4 times faster

Dependency tracking · free for 3 projects

Know when your own dependencies move

nanoid had 3 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Registry facts last checked 10 Nov 2026. Releases and advisories last read 10 Nov 2026.