Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ fileURLToPath } from
'url'
;
2
import
{ createRequire } from
'module'
;
3
4
const
rawRequire = createRequire(fileURLToPath(
import
.meta.url));
Callers
nothing calls this directly
Calls
2
createRequire
Function · 0.90
fileURLToPath
Function · 0.90
Tested by
no test coverage detected