installer

package
v5.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2016 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const Darwin = "darwin"

Darwin is the right way to spell darwin

View Source
const Linux = "linux"

Linux is the right way to spell linux

View Source
const NPMType = "npm"

NPMType dependency type

View Source
const NodeType = "node"

NodeType dependency type

View Source
const Windows = "windows"

Windows is the right way to spell windows

Variables

View Source
var ArchMap = map[string]string{
	"386":   "x86",
	"amd64": "x64",
	"arm":   "armv7l",
}

ArchMap defines the GOARCH to NodeArch mapping

Functions

func InstallNPM

func InstallNPM(tag, binPath string) error

InstallNPM installs the specified version of Node.JS

func InstallNPMWithoutDefaults

func InstallNPMWithoutDefaults(tag, binPath, baseURLStr string, osRuntime osruntime.OSRuntime) error

InstallNPMWithoutDefaults installs the specified version of NPM if you're running Windows. Otherwise, it does nothing.

func InstallNode

func InstallNode(tag, binPath string) error

InstallNode installs the specified version of Node.JS

func InstallNodeWithoutDefaults

func InstallNodeWithoutDefaults(tag, binPath, baseURLStr string, osRuntime osruntime.OSRuntime) error

InstallNodeWithoutDefaults installs the specified version of Node.JS

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL