nstdlib-nightly
Version:
Node.js standard library converted to runtime-agnostic ES modules.
38 lines (25 loc) • 1.64 kB
JavaScript
// Auto generated from Node.js v22.7.0 runtime
export const makeContext = (...args) => globalThis.node_binding_contextify_makeContext?.(...args);
export const compileFunction = (...args) => globalThis.node_binding_contextify_compileFunction?.(...args);
export const ContextifyScript = (...args) => globalThis.node_binding_contextify_ContextifyScript?.(...args);
export const startSigintWatchdog = (...args) => globalThis.node_binding_contextify_startSigintWatchdog?.(...args);
export const stopSigintWatchdog = (...args) => globalThis.node_binding_contextify_stopSigintWatchdog?.(...args);
export const watchdogHasPendingSigint = (...args) => globalThis.node_binding_contextify_watchdogHasPendingSigint?.(...args);
export const measureMemory = (...args) => globalThis.node_binding_contextify_measureMemory?.(...args);
export const compileFunctionForCJSLoader = (...args) => globalThis.node_binding_contextify_compileFunctionForCJSLoader?.(...args);
export const containsModuleSyntax = (...args) => globalThis.node_binding_contextify_containsModuleSyntax?.(...args);
export const shouldRetryAsESM = (...args) => globalThis.node_binding_contextify_shouldRetryAsESM?.(...args);
export const constants = {
"measureMemory": {
"mode": {
"SUMMARY": 0,
"DETAILED": 1
},
"execution": {
"DEFAULT": 0,
"EAGER": 1
}
}
};
const __default_export__ = { makeContext, compileFunction, ContextifyScript, startSigintWatchdog, stopSigintWatchdog, watchdogHasPendingSigint, measureMemory, compileFunctionForCJSLoader, containsModuleSyntax, shouldRetryAsESM, constants };
export default __default_export__;