JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5401
  • Score
    100M100P100Q136868F
  • License MIT

Generates a unique ID. Adds a prefix so it is suitable for use as an HTML ID.

Package Exports

  • boundless-utils-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 (boundless-utils-uuid) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

uuid

Generates a unique ID, based on this algorithm. Adds a prefix (b-) so it is suitable for use as an HTML ID.

Example Usage

import uuid from 'boundless-utils-uuid';

uuid(); // b-1f2cd27f-0754-4344-9d20-436a201b2f80