nodejs

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const NODEJS_REGISTRY_API = "https://registry.npmjs.org/%s"

https://docs.npmjs.com/cli/v8/using-npm/registry

Variables

This section is empty.

Functions

This section is empty.

Types

type NPMDoctor

type NPMDoctor struct {
	HTTPClient http.Client
}

func NewNPMDoctor

func NewNPMDoctor() *NPMDoctor

func (*NPMDoctor) Parse added in v1.2.0

func (*NPMDoctor) SourceCodeURL

func (d *NPMDoctor) SourceCodeURL(lib types.Library) (string, error)

type Nodejs

type Nodejs struct {
	// contains filtered or unexported fields
}

type NodejsRegistryResponse

type NodejsRegistryResponse struct {
	Repository struct {
		Url string `json:"url"`
	}
}

type YarnDoctor

type YarnDoctor struct {
	HTTPClient http.Client
}

func NewYarnDoctor

func NewYarnDoctor() *YarnDoctor

func (*YarnDoctor) Parse added in v1.2.0

func (*YarnDoctor) SourceCodeURL

func (d *YarnDoctor) SourceCodeURL(lib types.Library) (string, error)

Jump to

Keyboard shortcuts

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