npm

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigGet

func ConfigGet(npmFlags []string, confName, executablePath string) (string, error)

func GetConfigList

func GetConfigList(npmFlags []string, executablePath string) ([]byte, error)

This method runs "npm c ls" command and returns the current npm configuration (calculated by all flags and .npmrc files). For more info see https://docs.npmjs.com/cli/config

func Pack

func Pack(npmFlags []string, executablePath string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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