MCPcopy Index your code
hub / github.com/formkit/formkit / getRawBuildFile

Function getRawBuildFile

scripts/utils.mjs:251–253  ·  view source on GitHub ↗
(pkg, path)

Source from the content-addressed store, hash-verified

249 * Given a package name, return relevant build files from the file system
250 */
251export function getRawBuildFile(pkg, path) {
252 return fs.readFileSync(`${packagesDir}/${pkg}/${path}`, 'utf-8')
253}
254
255/**
256 * Given a package name, retrieve the package.json data

Callers 1

getPackageFromFSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected