1.0.4 • Published 3 years ago
alphanumericidy v1.0.4
What is this?
Generate unique alphanumericid for your projects.
Installation
npm i alphanumericidy --save
Then...
const { alphanumericid } = require('alphanumericidy')
OR
import { alphanumericid } from 'alphanumericidy';
//For shortid
alphanumericid({
shortid:true
});
//For longid
alphanumericid({
longid:true
});
//Or You can Just pass any number
alphanumericid(7);
Options
- shortid - boolean (Defaults to false)
- longid - boolean (Defaults to false)
Length
- shortid - 5
- longid - 10