Skip to content

alarxx/random-string-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

random-string-generator

npm install
npm start

В Node есть встроенный модуль crypto! Решение получше:

// test генерации UUIDv4
const crypto = require('crypto')

const startTimeMs = Date.now();

let i = 0;
for( ; Date.now() - startTimeMs < 1000; i++){
  const uuid = crypto.randomUUID()
  // console.log(uuid)
}
console.log(i)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published