10 Best JavaScript UUID Libraries

List hand-picked by Openbase Experts
Learn More

nan

nanoid

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.9/ 5
30
Top Feedback
13Great Documentation
13Easy to Use
12Performant
GitHub Stars
15K
Weekly Downloads
15M
Last Commit
1mo ago

uuid

Generate RFC-compliant UUIDs in JavaScript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.7/ 5
52
Top Feedback
43Easy to Use
34Great Documentation
31Performant
GitHub Stars
12K
Weekly Downloads
60M
Last Commit
2mos ago
su

short-uuid

Translate standard UUIDs into shorter formats and back.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Highly Customizable
GitHub Stars
269
Weekly Downloads
155K
Last Commit
8mos ago
vu

vue-uuid

Add UUID to Vue instance.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
55
Weekly Downloads
21K
Last Commit
2yrs ago

uuidv4

uuidv4 creates v4 UUIDs.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
121
Weekly Downloads
179K
Last Commit
2mos ago
um

uuid-mongodb

📇 Generates and parses MongoDB BSON UUIDs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
85
Weekly Downloads
7K
Last Commit
2mos ago
ur

uuid-random

Fastest UUID with cryptographic PRNG for JS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
94
Weekly Downloads
67K
Last Commit
8mos ago
eri

express-request-id

Middleware for setting unique request id

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
97
Weekly Downloads
58K
Last Commit
3yrs ago
pu

pure-uuid

Pure JavaScript Based Universally Unique Identifiers (UUID)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
59
Weekly Downloads
7K
Last Commit
1yr ago
du

device-uuid

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

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
93
Weekly Downloads
5K
Last Commit
5yrs ago
ruv

random-uuid-v4

A lightweight version 4 UUID generator.

License Icon
License: Unlicense
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
4K
Last Commit
N/A
au

angular-uuid

Generate RFC-compliant UUIDs in JavaScript

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
29
Weekly Downloads
3K
Last Commit
5yrs ago
rnu

react-native-uuid-generator

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
88
Weekly Downloads
3K
Last Commit
2yrs ago
mu

mongoose-uuid2

uuid type for mongoose

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
21
Weekly Downloads
160
Last Commit
3yrs ago
rim

request-id-middleware

Add a unique `requestId` uuid to each [express](https://github.com/visionmedia/express) request for logging.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
11
Last Commit
N/A