MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / [...pkg].get.ts

File [...pkg].get.ts

server/api/registry/docs/[...pkg].get.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export default defineCachedEventHandler(
2 async event => {
3 const pkgParam = getRouterParam(event, 'pkg')
4 if (!pkgParam) {

Callers

nothing calls this directly

Calls 3

parsePackageParamFunction · 0.85
assertValidPackageNameFunction · 0.85
generateDocsWithDenoFunction · 0.85

Tested by

no test coverage detected