Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ imp
Function
imp
test/es-module/test-esm-windows.js:12–14 ·
view source on GitHub ↗
(file)
Source
from the content-addressed store, hash-verified
10
const
path = require(
'path'
);
11
12
const
imp = (file) => {
13
return
import
(path.relative(__dirname, file).replace(/\\/g,
'/'
));
14
};
15
16
(
async
() => {
17
tmpdir.refresh();
Callers
1
test-esm-windows.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected