MCPcopy Create free account
hub / github.com/fontsource/fontsource / getPackageStat

Function getPackageStat

api/metadata/src/stats/get.ts:44–55  ·  view source on GitHub ↗
(
	id: string,
	env: Env,
	ctx: ExecutionContext,
)

Source from the content-addressed store, hash-verified

42};
43
44export const getPackageStat = async (
45 id: string,
46 env: Env,
47 ctx: ExecutionContext,
48) => {
49 const value = await getPackageStatAll(env, ctx);
50 if (!value[id]) {
51 return;
52 }
53
54 return value[id];
55};

Callers 1

router.tsFile · 0.90

Calls 1

getPackageStatAllFunction · 0.85

Tested by

no test coverage detected