MCPcopy
hub / github.com/unpkg/unpkg / Metadata

Interface Metadata

packages/unpkg-esm/src/request-handler.ts:220–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220interface Metadata {
221 build: {
222 bundle: string;
223 minify: boolean;
224 sourcemap: boolean;
225 };
226 dependencies: Record<string, string>;
227 exports: string[];
228 integrity: string | null;
229 module: string;
230 name: string;
231 peerDependencies: Record<string, string>;
232 specifier: string;
233 subpath: string;
234 target: string;
235 types: string | null;
236 version: string;
237}
238
239async function createMetadata(
240 env: Env,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected