MCPcopy Create free account
hub / github.com/editablejs/editable / generateRandomKey

Function generateRandomKey

packages/models/src/utils/key.ts:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20export const generateRandomKey = () => {
21 return Number(Math.random().toString().substring(2, 7) + Date.now()).toString(36)
22}

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…