Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/browserify/browserify
/ readpkg
Function
readpkg
test/pkg_event.js:27–31 ·
view source on GitHub ↗
(dir)
Source
from the content-addressed store, hash-verified
25
});
26
27
function
readpkg (dir) {
28
var
pkg = require(path.join(__dirname, dir,
'package.json'
));
29
pkg.__dirname = path.join(__dirname, dir);
30
return
pkg;
31
}
Callers
1
pkg_event.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…