Documentation
¶
Overview ¶
Package nodejs provides all needed logic for installation of node.js
Index ¶
- Variables
- type Args
- type Node
- func (node Node) Bins() []string
- func (node Node) Dots() []string
- func (node Node) Events() *emission.Emitter
- func (node Node) Info() map[string]string
- func (node Node) ListRemote() ([]string, error)
- func (node Node) PostInstall() (err error)
- func (node Node) Switch() (err error)
- func (node Node) Yarn() (ok bool, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// VersionLink is the URL link from which we can get all possible versions
VersionLink = "https://nodejs.org/dist"
)
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
Version string
Emitter *emission.Emitter
pkg.Base
// contains filtered or unexported fields
}
Node essential struct
func (Node) ListRemote ¶
ListRemote returns list of the all available remote versions
Click to show internal directories.
Click to hide internal directories.