@cfworker/uuid

Fast UUID generator with no dependencies. Generate V4 compliant UUIDs using crypto.getRandomValues

Usage no npm install needed!

<script type="module">
  import cfworkerUuid from 'https://cdn.skypack.dev/@cfworker/uuid';
</script>

README

@cfworker/uuid

Fast UUID generator with no dependencies. Generate V4 compliant UUIDs using crypto.getRandomValues

usage

import { uuid } from '@cfworker/uuid';

// standard uuid
const id = uuid();

// custom separator
const id2 = uuid('_');

// no separator
const id3 = uuid('');