Node_Module

Manage and install Node versions
extends Module\Skeleton\Standard
Methods Summary
public
# __construct( )
void __construct(void)

ignore


Overrides

public
# do( string $version , string $command , array $args ,… )
Execute Node within the scope of a version
public
# uninstall( string $version )
Remove an installed Node
public
# make_default( string $version , string $path = '~' )
Assign Node version to directory Resolves symbolic names to version number
public
# get_default( string $path )
Get Node version for a path
protected
# resolveVersion( string $version )
Resolve Node alias to version number
public
# lts_version( string $alias = '*' )
Get installed LTS version for account
public
# install( string $version )
Install Node
public
# installed( string $version )
Node version is installed
public
# lts_installed( )
Latest LTS is installed
public
# list( )
List installed Nodes
public
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants Summary
public string NVM_LOCATION
# '/.socket/node/nvm/nvm-exec'
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
protected $exportedFunctions

# array ( '*' => 3, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id