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

File [...pkg].get.ts

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

Source from the content-addressed store, hash-verified

1import { normalizeLicense } from '#shared/utils/npm'
2
3/**
4 * Returns lightweight package metadata for search results.

Callers

nothing calls this directly

Calls 3

normalizeLicenseFunction · 0.90
handleApiErrorFunction · 0.85
encodePackageNameFunction · 0.50

Tested by

no test coverage detected