MCPcopy Create free account
hub / github.com/anders-swanson/oracle-database-code-samples / readJson

Function readJson

website/vite.config.ts:44–46  ·  view source on GitHub ↗
(url: URL)

Source from the content-addressed store, hash-verified

42}
43
44function readJson<T>(url: URL) {
45 return JSON.parse(fs.readFileSync(url, 'utf8')) as T;
46}
47
48const siteMetadata = readJson<SiteMetadata>(siteMetadataPath);
49

Callers 5

vite.config.tsFile · 0.70
readCatalogIndexFunction · 0.70
readLanguagePagesFunction · 0.70
readPatternMappingsFunction · 0.70
readSampleDetailFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected