misskey/src/api/common/generate-native-user-token.ts
2017-08-28 23:47:43 +09:00

4 lines
82 B
TypeScript

import rndstr from 'rndstr';
export default () => `!${rndstr('a-zA-Z0-9', 32)}`;