10 Best Node.js UUID Libraries

List hand-picked by Openbase Experts
Learn More

nan

nanoid

A tiny (130 bytes), secure, URL-friendly, unique string ID generator for JavaScript

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
17.4K
Weekly Downloads
23.3M
Last Commit
9mos ago
User Rating
4.8/ 5
51
Top Feedback
13Great Documentation
13Easy to Use
12Performant
uuid

uuid

Generate RFC-compliant UUIDs in JavaScript

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
12.6K
Weekly Downloads
69.7M
Last Commit
1yr ago
User Rating
4.8/ 5
67
Top Feedback
44Easy to Use
35Great Documentation
31Performant
su

short-uuid

Translate standard UUIDs into shorter formats and back.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
315
Weekly Downloads
184K
Last Commit
2yrs ago
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Highly Customizable
pu

pure-uuid

Pure JavaScript Based Universally Unique Identifiers (UUID)

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
59
Weekly Downloads
12K
Last Commit
2yrs ago
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
uuidv4

uuidv4

uuidv4 creates v4 UUIDs.

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
141
Weekly Downloads
253K
Last Commit
8mos ago
hyp

hyperid

Uber-fast unique id generation, for Node.js and the browser

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
606
Weekly Downloads
150K
Last Commit
9mos ago
um

uuid-mongodb

📇 Generates and parses MongoDB BSON UUIDs

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
95
Weekly Downloads
10.9K
Last Commit
1yr ago
ur

uuid-random

Tiny, fast UUID with cryptographic PRNG

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
98
Weekly Downloads
104K
Last Commit
2yrs ago
du

device-uuid

Fast browser device uuid generation library. Written in pure JavaScript, no dependencies.

Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
133
Weekly Downloads
6.6K
Last Commit
6yrs ago
rnu

react-native-uuid-generator

UUID generator for React Native utilizing native iOS and Android UUID classes

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
87
Weekly Downloads
6.2K
Last Commit
3yrs ago