JSPM

  • Created
  • Published
  • Downloads 1587
  • Score
    100M100P100Q114417F
  • License MIT

Generate V4 compliant UUIDs

Package Exports

  • @cfworker/uuid

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cfworker/uuid) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@cfworker/uuid

Fast uuid V4 generator with no dependencies.

usage

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

// standard uuid
const id = uuid();

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

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