metadata

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0, BSD-3-Clause, MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package metadata defines aliases for backward compatibility with javascript/metadata.

Index

Constants

View Source
const (
	// Unknown is when the source of the NPM package is unknown because the lockfile was not found.
	Unknown = jsmeta.Unknown
	// PublicRegistry is the public NPM registry.
	PublicRegistry = jsmeta.PublicRegistry
	// Other is any other remote or private source (e.g. GitHub).
	Other = jsmeta.Other
	// Local is the local filesystem that stores the package versions.
	Local = jsmeta.Local
)

Variables

View Source
var (
	// PersonFromString parses a string of the form "name <email> (url)" into a Person struct.
	PersonFromString = jsmeta.PersonFromString
	// ToProto converts JavascriptPackageJSONMetadata to proto.
	ToProto = jsmeta.ToProto
	// ToStruct converts proto to JavascriptPackageJSONMetadata.
	ToStruct = jsmeta.ToStruct
)

Functions

This section is empty.

Types

type JavascriptPackageJSONMetadata

type JavascriptPackageJSONMetadata = jsmeta.JavascriptPackageMetadata

JavascriptPackageJSONMetadata is an alias for JavascriptPackageMetadata.

type NPMPackageSource added in v0.3.6

type NPMPackageSource = jsmeta.NPMPackageSource

NPMPackageSource is the source of the NPM package.

type Person

type Person = jsmeta.Person

Person represents a person field in a javascript package.json file.

Jump to

Keyboard shortcuts

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