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