MStrap::Runtimes::Node
Inherits MStrap::Runtime / MStrap::DSL / MStrap::DSL::System / MStrap::DSL::Logging / Reference / Object
Node runtime management implmentation. It contains methods for interacting with Node via the chosen runtime manager and bootstrapping a Node project based on conventions.
Instance methods
install_packages(packages : Array(Defs::PkgDef), runtime_version : String | Nil = nil) : Bool
Installs global packages for the runtime with an optional version specification, and optional runtime version.
NOTE: The version specification is dependent upon the underlying package manager and is passed verbatim.