MCPcopy Create free account
hub / github.com/eclipsesource/J2V8 / require

Method require

src/main/java/com/eclipsesource/v8/NodeJS.java:164–173  ·  view source on GitHub ↗

Invokes NodeJS require() on the specified file. This will load the module, execute it and return the exports object to the caller. The exports object must be released. @param file The module to load. @return The exports object.

(final File file)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

runMethod · 0.80
testExportsMethod · 0.80

Calls 4

pushMethod · 0.95
callMethod · 0.80
closeMethod · 0.65
checkThreadMethod · 0.45

Tested by 3

runMethod · 0.64
testExportsMethod · 0.64