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

Function shortId

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

Source from the content-addressed store, hash-verified

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

Callers 1

freshCustomAuthSlugFunction · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected