Dev Helpers
← Back

Inspect the runtime module ABI

Inspect the runtime module ABI using Node.js.

Open this example in the interactive library

Source code

import {
  builtinModules,
  isBuiltin,
  createRequire,
  syncBuiltinESMExports,
} from "node:module";
import { pathToFileURL } from "node:url";
console.log(typeof process.versions.modules === "string");

Sample output

true