npm

package
v1.46.7 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(options InstallOptions) (err error)

Types

type InstallOptions added in v1.45.0

type InstallOptions struct {
	Bun          string
	PackageNames []string
}

type PackageInfo

type PackageInfo struct {
	Name        string `json:"name"`
	Version     string `json:"version"`
	Description string `json:"description"`
}

type SearchChannels

type SearchChannels struct {
	Packages chan []PackageInfo
	Query    chan string
	Error    chan error
	Stop     chan struct{}
}

type SearchResponse

type SearchResponse struct {
	Objects []struct {
		Package PackageInfo `json:"package"`
	} `json:"objects"`
}

Jump to

Keyboard shortcuts

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