How to generate universally unique identifier using UUID in Node.js

1 Answer

0 votes
const uuid = require('uuid'); // Install uuid (npm i uuid)
   
console.log(uuid.v4());


  
/*
run:

f31a497f-c160-493d-9a2e-fc4f443cf69a

*/

 



answered Mar 19, 2020 by avibootz
...