Help us shape the future of Go! Take the 2026 Go Developer Survey

npm

package
v3.1.16 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPackageTag

func AddPackageTag(ctx *context.Context)

AddPackageTag adds a tag to the package

func DeletePackage

func DeletePackage(ctx *context.Context)

DeletePackage deletes the package and all versions

func DeletePackageTag

func DeletePackageTag(ctx *context.Context)

DeletePackageTag deletes a package tag

func DeletePackageVersion

func DeletePackageVersion(ctx *context.Context)

DeletePackageVersion deletes the package version

func DeletePreview

func DeletePreview(ctx *context.Context)

DeletePreview does nothing The client tells the server what package version it knows about after deleting a version.

func DownloadPackageFile

func DownloadPackageFile(ctx *context.Context)

DownloadPackageFile serves the content of a package

func DownloadPackageFileByName

func DownloadPackageFileByName(ctx *context.Context)

DownloadPackageFileByName finds the version and serves the contents of a package

func ListPackageTags

func ListPackageTags(ctx *context.Context)

ListPackageTags returns all tags for a package

func PackageMetadata

func PackageMetadata(ctx *context.Context)

PackageMetadata returns the metadata for a single package

func PackageSearch

func PackageSearch(ctx *context.Context)

func UploadPackage

func UploadPackage(ctx *context.Context)

UploadPackage creates a new package

Types

This section is empty.

Source Files

  • api.go
  • npm.go

Jump to

Keyboard shortcuts

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