MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / generateOperationId

Function generateOperationId

cli/src/server.ts:80–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80function generateOperationId(): string {
81 return crypto.randomBytes(8).toString('hex')
82}
83
84const corsOptions: CorsOptions = {
85 origin: ['https://npmx.dev', /^http:\/\/localhost:\d+$/, /^http:\/\/127.0.0.1:\d+$/],

Callers 1

createConnectorAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected