Nodejs version: Difference between revisions

From wikinotes
(Created page with " = NodeJS info = <blockquote> <syntaxhighlight lang="javascript"> const process = require('process'); process.version // 'v10.1.1' </syntaxhighlight> </blockquote><!-- NodeJ...")
 
No edit summary
Line 1: Line 1:
= NodeJS Build Versioning =
<blockquote>
{| class="wikitable"
|-
| nodejs || release of nodejs you are using
|-
| npm || npm is installed with nodejs, but versioned separately
|-
| V8 || the chromium javascript engine version built into this nodejs version
|-
| NODE_MODULE_VERSION || C extensions built in node are built to a node_module.<br> I think this might be a C runtime.<br> This is generally stable for a wide range of nodejs versions.
|-
|}
You can see nodejs version info [https://nodejs.org/en/download/releases/ here].
</blockquote><!-- NodeJS Build Versioning -->


= NodeJS info =
= NodeJS info =

Revision as of 23:12, 14 December 2021

NodeJS Build Versioning

nodejs release of nodejs you are using
npm npm is installed with nodejs, but versioned separately
V8 the chromium javascript engine version built into this nodejs version
NODE_MODULE_VERSION C extensions built in node are built to a node_module.
I think this might be a C runtime.
This is generally stable for a wide range of nodejs versions.

You can see nodejs version info here.

NodeJS info

const process = require('process');

process.version  // 'v10.1.1'