MCPcopy
hub / github.com/date-fns/date-fns / readDocsJSON

Function readDocsJSON

pkgs/docs/src/json.ts:159–164  ·  view source on GitHub ↗
(
  jsonPath: string,
)

Source from the content-addressed store, hash-verified

157 * @returns parsed container reflection
158 */
159export async function readDocsJSON(
160 jsonPath: string,
161): Promise<ContainerReflection> {
162 const docsJSON = await readFile(jsonPath, "utf8");
163 return JSON.parse(docsJSON) as ContainerReflection;
164}

Callers 1

readRefsFromJSONFunction · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected