universions.node package

Module contents

Module for node versions.

universions.node.get_node_version(node_path: Union[pathlib.Path, str, None] = None) → Optional[universions.version.Version]

Get the Node version.

Parameters:node_path – The path to the node to check. If not defined, it uses “node”
Returns:The Node version.