MCPcopy Index your code
hub / github.com/nodejs/node / loader-worker-spawn.mjs

File loader-worker-spawn.mjs

test/fixtures/es-module-loaders/loader-worker-spawn.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Worker } from 'worker_threads';
2import { createRequire } from 'module';
3
4const require = createRequire(import.meta.url);

Callers

nothing calls this directly

Calls 4

createRequireFunction · 0.90
requireFunction · 0.50
unrefMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected