JSPM

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

Unique-identifier generator

Package Exports

  • @sokolabs/wid

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

Readme

@sokolabs/wid

Generates a unique identifier - 88 bits 18-base32-encoded-alphanumeric-characters 
in the browser.

This has browser specific codes that does not work on the serverside of NodeJS.

Include this in the script tag of the html file.

<script src="../js/index.js"></script>
</head>
<body>
  <button id="generate" onclick="wid()">Generate</button>
</body>