README
smaller-id
Easier ID generation in Node.js
Installation
We use yarn, but you can use your favourite package manager. yarn add smaller-id
or npm i --save smaller-id
Usage
const id = require('smaller-id');
// Or
import id from 'smaller-id';
id();
API
id(length?: number, alphabet?: string): string;