MCPcopy Create free account
hub / github.com/npmx-dev/npmx.dev / packageToFilename

Function packageToFilename

scripts/generate-fixtures.ts:149–151  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

147}
148
149function packageToFilename(name: string): string {
150 return `${name}.json`
151}
152
153function searchQueryToFilename(query: string): string {
154 return `${query.replace(/:/g, '-')}.json`

Callers 2

generatePackumentFixtureFunction · 0.85
generateDownloadsFixtureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected