Parses Node.js version pinning files (.nvmrc, .node-version, .tool-versions).
Summary
Functions
Checks if a version string includes an alias (lts/*, etc).
Detects and reads the Node.js version from project files.
Checks if a version string looks like a major-only version.
Normalizes version to include all three parts.
Parses a .nvmrc file content.
Parses a .tool-versions file to extract the node version.
Functions
Checks if a version string includes an alias (lts/*, etc).
Detects and reads the Node.js version from project files.
Checks if a version string looks like a major-only version.
Normalizes version to include all three parts.
Parses a .nvmrc file content.
Parses a .tool-versions file to extract the node version.