MCPcopy Index your code
hub / github.com/nodejs/node / preloadOption

Function preloadOption

test/parallel/test-preload.js:14–16  ·  view source on GitHub ↗
(...preloads)

Source from the content-addressed store, hash-verified

12const nodeBinary = process.argv[0];
13
14const preloadOption = (...preloads) => {
15 return preloads.flatMap((preload) => ['-r', preload]);
16};
17
18const fixtureA = fixtures.path('printA.js');
19const fixtureB = fixtures.path('printB.js');

Callers 1

test-preload.jsFile · 0.85

Calls 1

flatMapMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…