Process
process.versions
Provides version strings for Node and bundled components. Available keys vary by build and release; inspect only public version metadata.
Formal Syntax & Structure
nodejs syntaxnodejs
process.versionsReturn Value
object
Version fields keyed by component name.
Working Example
Example Snippetnodejs
console.log(typeof process.versions.node);