A unique id checker module for node.js
npm i is-xid
const isXid = require('is-xid');
const id = 'bs6mkqt4pi406bibv930';
isXid(id); // true
/!\ 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