Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
62
let
packageJsonFile;
63
64
function
setPackageJsonFile() {
65
packageJsonFile =
66
JSON.parse(fs.readFileSync(`${__dirname}/../package.json`).toString());
67
}
68
69
function
updateAddonName() {
70
if
(customAddon !== undefined) {
Callers
1
build
Function · 0.85
Calls
1
toString
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…