2.0.1 • Published 7 years ago

bunkr-uuid v2.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

bunkr-uuid

Simple module to generate and validate Base58 encoded UUIDs with CRC8 checksum. Result length is in the range of 22 to 24 characters.

Install

npm install bunkr-uuid --save

Usage

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

uuid.generate();
// 31dh27vxYY8qTawfPHeqAZJc

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

License

MIT

2.0.1

7 years ago

2.0.0

8 years ago

1.0.0

8 years ago