List of available Node.js modules in vRO
Tags: article, node, polyglot, scripting
Published: 2022-04-13 13:17:13

---
title: List of available Node.js modules in vRO
published: true
date: 2022-03-15 09:49:55 UTC
tags: ARTICLE,nodejs,Polyglot,Scripting
canonical_url: https://cloudblogger.co.in/2022/03/15/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.

<style>.gist table { margin-bottom: 0; }</style>

<template>
  <div data-view-component="true">
  <svg aria-hidden="true" height="16" viewbox="0 0 16 16" version="1.1" width="16" data-view-component="true">
    <path fill-rule="evenodd" d="M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368L8.22 1.754zm-1.763-.707c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0114.082 15H1.918a1.75 1.75 0 01-1.543-2.575L6.457 1.047zM9 11a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z"></path>
</svg>
  
    <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>

  <div data-view-component="true"> <a href="%7B%7B%20revealButtonHref%20%7D%7D" data-view-component="true"> Show hidden characters
  
</a>
</div>
</div></template><template>
  <span aria-label="This line has hidden Unicode characters" data-view-component="true">
    <svg aria-hidden="true" height="16" viewbox="0 0 16 16" version="1.1" width="16" data-view-component="true">
    <path fill-rule="evenodd" d="M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368L8.22 1.754zm-1.763-.707c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0114.082 15H1.918a1.75 1.75 0 01-1.543-2.575L6.457 1.047zM9 11a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z"></path>
</svg>
</span></template>

| | 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 raw](https://gist.github.com/imtrinity94/2aaec6958f00a375492a887fca65a6d8/raw/24821acee2adf959dd3b881182b803e198cbee17/vRO_nodejs_getAllModules.js)[vRO\_nodejs\_getAllModules.js](https://gist.github.com/imtrinity94/2aaec6958f00a375492a887fca65a6d8#file-vro_nodejs_getallmodules-js) hosted with ❤ by [GitHub](https://github.com)

![](https://cloudblogger2021.files.wordpress.com/2022/03/image-46.png?w=923)

* * *

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