MCPcopy
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

21const PROD_FRONTEND_URL = 'https://npmx.dev/'
22
23function 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

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected