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.versions

Return Value

object

Version fields keyed by component name.

Working Example

Example Snippetnodejs
console.log(typeof process.versions.node);
Node.js Reference