Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
export
default defineCachedEventHandler(
2
async
event => {
3
const
pkgParam = getRouterParam(event,
'pkg'
)
4
if
(!pkgParam) {
Callers
nothing calls this directly
Calls
3
parsePackageParam
Function · 0.85
assertValidPackageName
Function · 0.85
generateDocsWithDeno
Function · 0.85
Tested by
no test coverage detected