misskey/src/server/api/common/generate-native-user-token.ts

4 lines
76 B
TypeScript
Raw Normal View History

2017-08-28 16:47:43 +02:00
import rndstr from 'rndstr';
2019-04-15 18:05:21 +02:00
export default () => rndstr('a-zA-Z0-9', 16);