1.0.0 • Published 8 years ago

uniquify v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

uniquify

Generate a UUID with C++

uniquify.generate(4, (err, result) => {
  /*
  {
    uuid: '3c87152c-64f4-4a33-924e-6cf31b606ae3',
    base62: '5CBcAoM2qv5-CYmgZGciXZb',
    uuidPretty: 'version=4,randbits=3c87152c64f40a33124e6cf31b606ae3,'
  }
  */
});
  • .generate accepts two arguments
    • The version of the UUID you want, 0, 1, or 4
    • The callback.
1.0.0

8 years ago