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

File [...pkg].get.ts

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

Source from the content-addressed store, hash-verified

1import { CACHE_MAX_AGE_ONE_HOUR, ERROR_NPM_FETCH_FAILED } from '#shared/utils/constants'
2import { resolvePackageReadmeSource } from '#server/utils/readme-loaders'
3
4/**

Callers

nothing calls this directly

Calls 2

renderReadmeHtmlFunction · 0.85
handleApiErrorFunction · 0.85

Tested by

no test coverage detected