Created
May 11, 2018 07:27
-
-
Save knrt10/28b544eed6803826a2b2dd16a59f68cf to your computer and use it in GitHub Desktop.
Create random string
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
| const roomNumber = crypto | |
| .randomBytes(12) | |
| .toString('base64') | |
| .replace(/[+/=]+/g, '') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment