zhangnuoyan
2024-08-25 40f2e0a67cb3b788262f156deb7187d9735b5196
1
2
3
4
5
6
import { customAlphabet } from "nanoid/non-secure";
 
const genrateNanoid = (): string => {
    return customAlphabet("ABCDEFGabcdefgHIJKLMNhijklmnOPQRSTUopqrstuVWXYZvwxyz", 10)(20);
};
export default genrateNanoid;