MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / shortId

Function shortId

packages/core/sdk/src/integration.ts:118–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116// ---------------------------------------------------------------------------
117
118const shortId = (): string => Math.random().toString(36).slice(2, 8);
119
120export const freshCustomAuthSlug = (taken: ReadonlySet<string>): string => {
121 let candidate = `custom_${shortId()}`;

Callers 1

freshCustomAuthSlugFunction · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected