MCPcopy Create free account
hub / github.com/brix/crypto-js / readFile

Function readFile

builder/builder.js:15–18  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

13 uglify = require("uglify-js"),
14
15 readFile = function (path) {
16 return fs.readFileSync(path)
17 .toString();
18 },
19
20 writeFile = function (path, content) {
21 fsx.mkdirpSync(path.replace(/[^\/]+\/?$/, ""));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected