MCPcopy Create free account
hub / github.com/tensorflow/tfjs / setPackageJsonFile

Function setPackageJsonFile

tfjs-node/scripts/install.js:64–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62let packageJsonFile;
63
64function setPackageJsonFile() {
65 packageJsonFile =
66 JSON.parse(fs.readFileSync(`${__dirname}/../package.json`).toString());
67}
68
69function updateAddonName() {
70 if (customAddon !== undefined) {

Callers 1

buildFunction · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…