uuid
npmv14.0.2TypeScriptRFC9562 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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.
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| uuidthis page | 254.8M | 8 | MIT | 22 days ago |
| nanoid | 0 | 3 | MIT | 1 day ago |
Dependencies
Declared by uuid v14.0.2. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (17)
Used by
Popular packages that depend on uuid.
Additional JSON-Schema keywords for Ajv JSON validator
Reference implementation of Joyent's HTTP Signature scheme.
Simplified HTTP request client.
Mongoose MongoDB ODM
A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)
A library for working with expo-updates code signing certificates
parser for xcodeproj/project.pbxproj files
A bson parser for node.js and the browser
Relationship graph
Dependencies (left) and dependents (right) of uuid.
Frequently installed together
An AST-based pattern checker for JavaScript.
TypeScript definitions for node
A family of specs for interoperable TypeScript
Fast, unopinionated, minimalist web framework
Parse, validate, manipulate, and display dates
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
{G,S}et object values using MongoDB-like path notation
Expressive query building for MongoDB
Official client encryption module for the MongoDB Node.js driver
MongoDB query filtering in JavaScript
The official MongoDB driver for Node.js
Tiny millisecond conversion utility
Release history
12 releases in the last two years, typically about 41 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 14.0.2latest | 22 days ago | 64 KB | MIT |
| 14.0.1 | 2 months ago | 64 KB | MIT |
| 13.0.2 | 4 months ago | 66 KB | MIT |
| 11.1.1 | 4 months ago | 131 KB | MIT |
| 12.0.1 | 4 months ago | 66 KB | MIT |
| 13.0.1 | 4 months ago | 66 KB | MIT |
| 14.0.0 | 4 months ago | 69 KB | MIT |
| 13.0.0 | 1 year ago | 65 KB | MIT |
| 12.0.0 | 1 year ago | 65 KB | MIT |
| 11.1.0 | 1 year ago | 130 KB | MIT |
| 11.0.5 | 1 year ago | 129 KB | MIT |
| 11.0.4 | 1 year ago | 129 KB | MIT |
| 11.0.3 | 1 year ago | 287 KB | MIT |
| 11.0.2 | 1 year ago | 635 KB | MIT |
| 11.0.1 | 1 year ago | 636 KB | MIT |
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.
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.