</>PackageGraphPackageGraph

uuid

npmv14.0.2TypeScript

RFC9562 UUIDs

Safe to adopt

Yes — uuid scores well across adoption, maintenance, weight, supply chain, and licensing. 254.8M downloads per week and 8 known dependents. Last published 22 days ago. 16 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    254.8M downloads per week and 8 known dependents.

  • AMaintenance: grade A, Excellent.

    Last published 22 days ago. 16 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 64 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding uuid to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

64 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the uuid README.

javascriptFull README ↗
import { v4 as uuidv4 } from 'uuid';

uuidv4(); // ⇨ 'b18794e8-5d0d-417c-b361-ba38e78411b4'

uuid vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
uuidthis page254.8M8MIT22 days ago
nanoid03MIT1 day ago

Dependencies

Declared by uuid v14.0.2. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (17)

@biomejs/biome 2.4.10@commitlint/cli 20.5.0@commitlint/config-conventional 20.5.0bundlewatch 0.4.1commander 14.0.3globals 17.4.0jest 30.3.0lefthook 1.11.13lint-staged 16.4.0neostandard 0.13.0npm-run-all2 8.0.4prettier 3.8.3publint 0.3.21release-please 17.3.0runmd 2.1.1standard-version 9.5.0typescript 5.4.3

Used by

Popular packages that depend on uuid.

Relationship graph

Dependencies (left) and dependents (right) of uuid.

Frequently installed together

Release history

12 releases in the last two years, typically about 41 days apart.

Recent versions of uuid
VersionPublishedSizeLicense
14.0.2latest22 days ago64 KBMIT
14.0.12 months ago64 KBMIT
13.0.24 months ago66 KBMIT
11.1.14 months ago131 KBMIT
12.0.14 months ago66 KBMIT
13.0.14 months ago66 KBMIT
14.0.04 months ago69 KBMIT
13.0.01 year ago65 KBMIT
12.0.01 year ago65 KBMIT
11.1.01 year ago130 KBMIT
11.0.51 year ago129 KBMIT
11.0.41 year ago129 KBMIT
11.0.31 year ago287 KBMIT
11.0.21 year ago635 KBMIT
11.0.11 year ago636 KBMIT

Overview

uuid is an npm package that rFC9562 UUIDs. It is extremely widely used, with about 254.8M downloads per week and 8 known dependents in the graph. The latest version is 14.0.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need rFC9562 UUIDs and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (254.8M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (17 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use uuid?

Yes — uuid scores well across adoption, maintenance, weight, supply chain, and licensing. 254.8M downloads per week and 8 known dependents. Last published 22 days ago. 16 releases in the last 2 years.

How do I install uuid?

Run `npm install uuid` to add uuid to your npm project.

What license is uuid released under?

uuid is distributed under the MIT license.

How popular is uuid?

uuid has approximately 254,763,933 downloads per week and 8 known dependent packages.

Is uuid still maintained?

The most recent release of uuid (v14.0.2) was published 22 days ago.

Does uuid run install scripts?

No. uuid does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.