Home Reference Source Test Repository

Typedef

Static Public Summary
public

Hook

public

Hookable: function(...args: arguments, hooks: Hooks): Promise

Hookable function, accepts a Hooks as last arguments

public

A command refers to a shell command.

public

A version refers to any version-like string nvm understands.

Static Public

public Hook: function source

Hook

public Hookable: function(...args: arguments, hooks: Hooks): Promise source

Hookable function, accepts a Hooks as last arguments

public command: string source

A command refers to a shell command. Any $version string will be replaced by the version in test

public version: string source

A version refers to any version-like string nvm understands. This includes:

  • full or partial version numbers, starting with an optional "v" (0.10, v0.1.2, v1)
  • default (built-in) aliases: node, stable, unstable, iojs, system
  • custom aliases you define with nvm alias foo