Skip to content

Instantly share code, notes, and snippets.

@akshaymankar
Created August 17, 2022 06:14
Show Gist options
  • Save akshaymankar/609ca467b7c6bed47cccba9cbbf4510c to your computer and use it in GitHub Desktop.
Save akshaymankar/609ca467b7c6bed47cccba9cbbf4510c to your computer and use it in GitHub Desktop.
Get UUID V1 for Epoch
uuid = require('uuid');
options = {
clockseq : 0,
msecs : 0,
nsecs : 0,
random : 0
}
console.log(uuid.v1(options))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment