npm

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetNpmRegistries

func SetNpmRegistries(options *RegistryOptions, execRunner execRunner) error

SetNpmRegistries configures the given npm registries. CAUTION: This will change the npm configuration in the user's home directory.

Types

type RegistryOptions

type RegistryOptions struct {
	DefaultNpmRegistry string
	SapNpmRegistry     string
}

RegistryOptions holds the configured urls for npm registries

Jump to

Keyboard shortcuts

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