Versions in this module Expand all Collapse all v12 v12.1.9 Aug 12, 2022 Changes in this version + var PathSeparator = string(os.PathSeparator) + func Command(command string, a ...string) (output string, err error) + func Exists(dir string) bool + func MustCommand(command string, a ...string) (output string) + func NodeModuleAbs(relativePath string) string + func NodeModuleExists(execPath string) bool + func NodeModulesPath() string + type Cmd struct + func CommandBuilder(command string, args ...string) *Cmd + func (cmd *Cmd) AppendArguments(args ...string) *Cmd + func (cmd *Cmd) Arguments(args ...string) *Cmd + func (cmd *Cmd) Directory(workingDirectory string) *Cmd + func (cmd *Cmd) ResetArguments() *Cmd + type NodeModuleResult struct + Error error + Message string + func NodeModuleInstall(moduleName string) NodeModuleResult + func NodeModuleUnistall(moduleName string) NodeModuleResult + func (res NodeModuleResult) Output() (out string)