2023-01-03 14:09:03 -08:00

5 lines
139 B
TypeScript

import { customAlphabet } from 'nanoid'
const nanoid = customAlphabet('abcdefghijklmnopqrstuvwxyz')
export const newId = () => nanoid(15)