package
Version:
v0.8.1
Opens a new window with list of versions in this module.
Published: Mar 21, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DetectVersion detects the Node.js version for the given directory.
It checks, in order:
- .nvmrc
- .node-version
- package.json engines.node
- global config default
Source Files
¶
Click to show internal directories.
Click to hide internal directories.