JSPM

@bunkr/uid

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

Simple module to generate and validate Base58 encoded UIDs with CRC8 checksum.

Package Exports

  • @bunkr/uid

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

Readme

Bunkr UID

Simple module to generate and validate Base58 encoded UIDs with CRC8 checksum.

Install

npm install @bunkr/uid --save

Usage

const uuid = require('bunkr-uuid');

uuid.generate(16);
// 31dh27vxYY8qTawfPHeqAZJc

uuid.validate('31dh27vxYY8qTawfPHeqAZJc')
// true

License

MIT