Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UsefulSoftwareCo/executor
/ newId
Function
newId
packages/plugins/toolkits/src/server.ts:86–87 ·
view source on GitHub ↗
(prefix: string)
Source
from the content-addressed store, hash-verified
84
}
85
86
const
newId = (prefix: string): string =>
87
`${prefix}_${Math.random().toString(36).slice(2)}${Date.now().toString(36)}`;
88
89
const
slugPattern = /^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/;
90
Callers
3
create
Function · 0.85
createPolicy
Function · 0.85
createConnection
Function · 0.85
Calls
1
toString
Method · 0.80
Tested by
no test coverage detected