Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10
const
root = resolve(__dirname,
".."
);
11
12
function
loadJSON(path) {
13
return
JSON.parse(readFileSync(path,
"utf-8"
));
14
}
15
16
const
marketplaceSchema = loadJSON(
17
resolve(root,
"schemas/marketplace.schema.json"
)
Callers
1
validate-plugins.mjs
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected