Which version of node are we running in cloudcode?

Which version of node are we running in cloudcode?

You can view this by doing the following in a CloudCode task:

console.log(process.versions);

This will display all the process details, including the node version (node: '8.10.0'):

{ 
    http_parser: '2.7.0',
    node: '8.10.0',
    v8: '6.2.414.50',
    uv: '1.19.1',
    zlib: '1.2.11',
    ares: '1.10.1-DEV',
    modules: '57',
    nghttp2: '1.39.2',
    openssl: '1.0.2r',
    icu: '60.1',
    unicode: '10.0',
    cldr: '32.0',
    tz: '2017c' 
}
3 Likes