Last active
November 1, 2024 12:31
-
-
Save olekenneth/4159e11caf02c57a4325d77b66c3316b to your computer and use it in GitHub Desktop.
Generate password style text uuid of some sort
This file contains hidden or 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
| ((groups = 0) => { | |
| return Array.from({ length: groups }, () => | |
| Math.random().toString(36).substring(2, 7) | |
| ).join('-'); | |
| })(4); | |
| // 'glj50-igpkd-46q7m-rre8r' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment