1.0.1 • Published 4 years ago
smaller-id v1.0.1
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;