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

Function slug

e2e/src/surfaces/browser.ts:32–37  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

30}
31
32const slug = (text: string): string =>
33 text
34 .toLowerCase()
35 .replace(/[^a-z0-9]+/g, "-")
36 .replace(/^-+|-+$/g, "")
37 .slice(0, 60);
38
39// How long a navigation may wait for the network to go quiet before giving up
40// on quiet and letting the scenario's own assertion decide. Long enough to

Callers 1

stepFunction · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected