JSPM

mini-unique-id

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

minimal unique id generator

Package Exports

  • mini-unique-id

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

Readme

mini-unique-id

Most minimal uniqueId generator. Exposes an internal counter incremented after every call casted as a string. That's it.

For prefixes and such, use lodash's implementation :).

import uniqueId from 'mini-unique-id';

uniqueId() // '1'
uniqueId() // '2'

License MIT. With <3 by UXtemple