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

Function shortId

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

Source from the content-addressed store, hash-verified

128// ---------------------------------------------------------------------------
129
130const shortId = (): string => Math.random().toString(36).slice(2, 8);
131
132export const freshCustomAuthSlug = (taken: ReadonlySet<string>): string => {
133 let candidate = `custom_${shortId()}`;

Callers 1

freshCustomAuthSlugFunction · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected