Documentation
¶
Index ¶
Constants ¶
View Source
const PackageTypeName string = "npm"
Variables ¶
This section is empty.
Functions ¶
func NpmJsLicenseResolver ¶
func NpmJsLicenseResolver(opts ...deps.LicenseResolverOption) deps.LicenseResolverFunc
func Parse ¶
func Parse(source string, opts ...ParseOption) (*deps.DependencyNode, error)
Types ¶
type ParseOption ¶
type ParseOption func(*ParseOptionSet)
func WithCache ¶
func WithCache(r deps.CacheReader, w deps.CacheWriter) ParseOption
func WithDevelopmentDependencies ¶
func WithDevelopmentDependencies(withDevDeps bool) ParseOption
func WithLicenseResolver ¶
func WithLicenseResolver(resolver deps.LicenseResolverFunc) ParseOption
func WithParallelization ¶
func WithParallelization(numOfWorkers uint64) ParseOption
type ParseOptionSet ¶
type ParseOptionSet struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.