release
The process.release
property returns an Object
containing metadata related to the current release, including URLs for the source tarball and headers-only tarball.
process.release
contains the following properties:
{
name: 'node',
lts: 'Hydrogen',
sourceUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0.tar.gz',
headersUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0-headers.tar.gz',
libUrl: 'https://nodejs.org/download/release/v18.12.0/win-x64/node.lib'
}
Content copied to clipboard
In custom builds from non-release versions of the source tree, only the name
property may be present. The additional properties should not be relied upon to exist.
Since
v3.0.0