DEV Community

Mayank Goyal
Mayank Goyal

Posted on • Originally published at cloudblogger.co.in on

List of available Node.js modules in vRO

Here is the list of node.js modules that comes preinstalled in vRO 8.3 when you select in Node.js 12 in Runtime.

| Module | Version |
| node | 12.18.3 |
| v8 | 7.8.279.23-node.39 |
| uv | 1.38.0 |
| zlib | 1.2.11 |
| brotli | 1.0.7 |
| ares | 1.16.0 |
| modules | 72 |
| nghttp2 | 1.41.0 |
| napi | 6 |
| llhttp | 2.0.4 |
| http_parser | 2.9.3 |
| openssl | 1.1.1g |
| cldr | 37.0 |
| icu | 67.1 |
| tz | 2019c |
| unicode | 13.0 |

Reference Script

In Node.js, the process.versions property is an inbuilt application programming interface of the process module which is used to get the versions of node.js modules and it’s dependencies. The process.versions property returns an object listing the version strings of Node.js and its dependencies.

.gist table { margin-bottom: 0; }

<span>
  This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
  <a href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a>
</span>
Show hidden characters






| | exports.handler = (context, inputs, callback) => { |
| | const process = require('process'); |
| | var no_versions = 0; |
| | |
| | var versions = process.versions; |
| | console.log("|Module|Version|"); |
| | console.log("|——|——-|"); |
| | for (var key in versions) { |
| | // Printing key and its versions |
| | console.log("|"+key + "|" + versions[key]+"|"); |
| | no_versions++; |
| | } |
| | console.log("Total no of values available = " + no_versions); |
| | callback(undefined, { |
| | status: "done" |
| | }); |
| | } |

view rawvRO_nodejs_getAllModules.js hosted with ❤ by GitHub


Let me know if you have an even better way to get the list of modules from vRO. See you.

Top comments (0)