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
  • 789
  • 9
  • 18

1 Answers1

2

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

Gaëtan Boyals
  • 1,147
  • 1
  • 7
  • 21