0

I would like to know the current version of Node, such as the one obtained by the command line "node -v", but via a js function.

Didier68
  • 1,027
  • 12
  • 26

1 Answers1

2

The NodeJS global object property process.version might be what you need.

Gaëtan Boyals
  • 1,193
  • 1
  • 7
  • 22