node

package
v1.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectVersion

func DetectVersion(dir string) (string, error)

DetectVersion detects the Node.js version for the given directory. It checks, in order:

  1. .lerd.yaml node_version field (explicit lerd override)
  2. .nvmrc
  3. .node-version
  4. package.json engines.node
  5. global config default

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL