On this page

    Type:Object

    The process.versions property returns an object listing the version strings of Node.js and its dependencies. process.versions.modules indicates the current ABI version, which is increased whenever a C++ API changes. Node.js will refuse to load modules that were compiled against a different module ABI version.

    import { versions } from 'node:process';
    
    console.log(versions);
    const { versions } = require('node:process');
    
    console.log(versions);

    Will generate an object similar to:

    { node: '26.0.0-pre',
      acorn: '8.15.0',
      ada: '3.4.1',
      amaro: '1.1.5',
      ares: '1.34.6',
      brotli: '1.2.0',
      merve: '1.0.0',
      cldr: '48.0',
      icu: '78.2',
      llhttp: '9.3.0',
      modules: '144',
      napi: '10',
      nbytes: '0.1.1',
      ncrypto: '0.0.1',
      nghttp2: '1.68.0',
      nghttp3: '',
      ngtcp2: '',
      openssl: '3.5.4',
      simdjson: '4.2.4',
      simdutf: '7.3.3',
      sqlite: '3.51.2',
      tz: '2025c',
      undici: '7.18.2',
      unicode: '17.0',
      uv: '1.51.0',
      uvwasi: '0.0.23',
      v8: '14.3.127.18-node.10',
      zlib: '1.3.1-e00f703',
      zstd: '1.5.7' }