nduuid

non-dashes universally unique identifier

Usage no npm install needed!

<script type="module">
  import nduuid from 'https://cdn.skypack.dev/nduuid';
</script>

README

nduuid

NPM Version

non-dashes UUID

Usage

Version 1 (timestamp):

const uuid = require('nduuid').v1;
uuid(); // ⇨ 'd602d0d20e9011e8ba890ed5f89f718b'

Version 4 (random):

const uuid = require('nduuid').v4;
uuid(); // ⇨ '8155cc2e6d1448c2bcabdef5c830ddf6'

License

MIT

Benchmarks

node-uuid: creating 1.000.000 uuid v1: 791.340ms
nduuid: creating 1.000.000 uuid v1: 437.731ms

node-uuid: creating 1.000.000 uuid v4: 3262.987ms
nduuid: creating 1.000.000 uuid v4: 2645.527ms