Skip to content

Instantly share code, notes, and snippets.

View bausmeier's full-sized avatar

Brett Ausmeier bausmeier

View GitHub Profile

Non-standard UUID generator

The UUIDs are 128 bits and are represented as 32 character hex strings. The first 14 hex characters are the number of microseconds since the Unix epoch, and the remaining 18 hex characters are random.

Usage

const utcr = require('utc-random');

Keybase proof

I hereby claim:

  • I am bausmeier on github.
  • I am bausmeier (https://keybase.io/bausmeier) on keybase.
  • I have a public key ASChxDrAO5-TvZP1on3VzyTX2ZfB5f_pPTAl0Z4OmXh5-go

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am bausmeier on github.
  • I am bausmeier (https://keybase.io/bausmeier) on keybase.
  • I have a public key ASDRJ3T5loOq2WrvynFugplTMvz2w25izo_9AHRDzy3Mwwo

To claim this, I am signing this object: