1.0.3 • Published 4 years ago

is-xid v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

is-xid

A unique id checker module for node.js

Install

npm i is-xid

Usage

const isXid = require('is-xid');

const id = 'bs6mkqt4pi406bibv930';
isXid(id); // true

Limitations

/!\ Warning - This package is a beta version which only check the string length and bytes weight for now.

Incoming features:

  • Base32 encoding check
  • K-ordered string check

Licence

MIT License