MCPcopy Create free account
hub / github.com/msgbyte/tailchat / generateRandomNumStr

Function generateRandomNumStr

server/lib/utils.ts:22–27  ·  view source on GitHub ↗
(length = 6)

Source from the content-addressed store, hash-verified

20}
21
22export function generateRandomNumStr(length = 6) {
23 return randomString({
24 length,
25 type: 'numeric',
26 });
27}
28
29/**
30 * 是否一个可用的字符串

Callers 3

verifyEmailMethod · 0.90
forgetPasswordMethod · 0.90
createMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected