[英]Get the node.js version at runtime
I'm having some compatibility issues with old versions of node.js. 我对旧版本的node.js存在一些兼容性问题。
Is there any way to get the node.js version at runtime? 有没有办法在运行时获取node.js版本?
> process.version
'v0.6.8'
> process.versions
{ node: '0.6.8',
v8: '3.6.6.19',
ares: '1.7.5-DEV',
uv: '0.6',
openssl: '0.9.8g' }
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.