MCPcopy Create free account
hub / github.com/arktypeio/arktype / parsePackageManifest

Function parsePackageManifest

ark/aot/util.ts:38–41  ·  view source on GitHub ↗
(
	text: string,
	path: string
)

Source from the content-addressed store, hash-verified

36}
37
38export const parsePackageManifest = (
39 text: string,
40 path: string
41): PackageManifest => parseJsonText(text, path) as PackageManifest
42
43export const hasOwn = (o: object, k: PropertyKey): boolean =>
44 Object.prototype.hasOwnProperty.call(o, k)

Callers 12

fingerprintOfFunction · 0.90
optsInFunction · 0.90
nameInFunction · 0.90
host.tsFile · 0.90
packageOfFileFunction · 0.90
dependsOnNextFunction · 0.90
mayReadMethod · 0.90
packageOfMethod · 0.90
versionHintOfMethod · 0.90
packageNameOfMethod · 0.90
isArkFileFunction · 0.90
checkArktypeVersionFunction · 0.90

Calls 1

parseJsonTextFunction · 0.85

Tested by

no test coverage detected