How to create cryptographically-strong random value in Node.js

1 Answer

0 votes
// https://www.npmjs.com/package/uuid

const uuid = require('uuid');

console.log(uuid.v4());


/*
run:
     
9117f0b9-f3ef-42d0-8e75-2d5dbf0d1997
   
*/

 



answered Mar 10, 2020 by avibootz

Related questions

1 answer 106 views
1 answer 167 views
2 answers 126 views
1 answer 164 views
...