Created
March 11, 2024 11:56
-
-
Save FlameWolf/6b2b7122dcf1e890186e40e605249184 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getRandomIdString = (steps = 1) => { | |
let seed = ""; | |
for (let i = 0; i < steps; i++) { | |
seed += crypto.randomUUID(); | |
} | |
return seed.replaceAll("-", ""); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment