Skip to content

Instantly share code, notes, and snippets.



Created Oct 4, 2017
What would you like to do?
Humble one-liner to generate UIDs in vanilla.
module.exports = _ => new Date().getTime().toString(36) + '.' + (Math.random() * Math.pow(2, 32)).toString(36);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.