npm

package
v0.0.0-...-cfb1625 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package npm implements the npm-specific bits of dependency crawling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dependencies

func Dependencies(repoPath string, opts Options, l *log.Logger) []dep.ID

func Dir

func Dir(name, dataDir string, l *log.Logger) string

Types

type Options

type Options struct {
	Dependencies     bool
	DevDependencies  bool
	PeerDependencies bool
}

Jump to

Keyboard shortcuts

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