1.0.0 • Published 3 years ago
@jipd/short-id v1.0.0
short-id
Generate a simple short id consisting of numbers, upper and lowercase letters
String always generates with a letter first and a default length of 8 characters
Installation
npm i @jipd/short-id
Usage
import shortId from '@jipd/short-id'
const id = shortId()
// BrC055rU
const longerId = shortId(12)
// ArjehLa1U2RG
1.0.0
3 years ago