MCPcopy Index your code
hub / github.com/nodejs/node / pkgexports.mjs

File pkgexports.mjs

test/fixtures/pkgexports.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { fileURLToPath } from 'url';
2import { createRequire } from 'module';
3
4const rawRequire = createRequire(fileURLToPath(import.meta.url));

Callers

nothing calls this directly

Calls 2

createRequireFunction · 0.90
fileURLToPathFunction · 0.90

Tested by

no test coverage detected