MCPcopy Index your code
hub / github.com/darkreader/darkreader / readJSON

Function readJSON

tasks/utils.js:147–150  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

145 * @returns {Promise<Object>}
146 */
147export async function readJSON(path) {
148 const file = await readFile(path);
149 return JSON.parse(file);
150}
151
152/**
153 * @param {string} dest

Callers 4

writeDenoJSONFunction · 0.90
patchManifestFunction · 0.90
fixManifestFunction · 0.90
signatureFunction · 0.90

Calls 1

readFileFunction · 0.85

Tested by

no test coverage detected