
Generate random UUID in Node.JS
Quick and easy thanks to crypto library.
In a new .js file paste the following code:
const crypto = require('crypto');
console.log(crypto.randomUUID());
console.log(crypto.randomUUID());
console.log(crypto.randomUUID());
console.log(crypto.randomUUID());
console.log(crypto.randomUUID());
console.log(crypto.randomUUID());
console.log(crypto.randomUUID());
console.log(