Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/npmx-dev/npmx.dev
/ generateToken
Function
generateToken
cli/src/mock-server.ts:23–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
const
PROD_FRONTEND_URL =
'https://npmx.dev/'
22
23
function
generateToken(): string {
24
return
crypto.randomBytes(16).toString(
'hex'
)
25
}
26
27
/**
28
* Prepopulate with sample data using real npm orgs so the registry
Callers
1
run
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected