v14.2.0
Features
- The version can now be specified as a file path to a
.nvmrc
,package.json
(engines.node
field) or similar files.
const { path, version } = await getNode('/path/to/.nvmrc')
.nvmrc
, package.json
(engines.node
field) or similar files.const { path, version } = await getNode('/path/to/.nvmrc')