npm

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(bun string, app string, pkgs ...string) error

Types

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 any
}

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