Support native `randomUUID()`
See original GitHub issueStarting on Node.js 15.6, there’s support for a native randomUUID()
implementation, that implements UUID v4. What about checking for its support on https://github.com/uuidjs/uuid/blob/master/src/v4.js and use it when available?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Crypto.randomUUID() - Web APIs - MDN Web Docs
The randomUUID() method of the Crypto interface is used to generate a v4 UUID using a cryptographically secure random number generator.
Read more >UUID (Java Platform SE 8 ) - Oracle Help Center
randomUUID. public static UUID randomUUID(). Static factory to retrieve a type 4 (pseudo randomly generated) UUID. The UUID is generated using a ...
Read more >react-native-uuid - npm
Please note, this library uses pseudo random generator based on top of Math.random . New version with hardware support is WIP. Heavily inspired ......
Read more >How to Create a UUID in JavaScript using the native crypto ...
Developers can use the native JavaScript crypto library to generate a UUID: crypto.randomUUID() // '5872aded-d613-410e-841f-a681a6aa8d8b' ...
Read more >The randomUUID method is supported on the web client
The random() method is called once for each position. 2. randomUUID. Chrome now has native support for the uuId method, crypto.randomUUID() , ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s certainly on my list but I’m not sure if and when I’ll manage to work on it. But happy to review a pull request if you are interested in working on it.
Using native randomUUID unter the hood was added in #600.