MCPcopy Create free account
hub / github.com/cursor/plugins / loadJSON

Function loadJSON

scripts/validate-plugins.mjs:12–14  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

10const root = resolve(__dirname, "..");
11
12function loadJSON(path) {
13 return JSON.parse(readFileSync(path, "utf-8"));
14}
15
16const marketplaceSchema = loadJSON(
17 resolve(root, "schemas/marketplace.schema.json")

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected