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.
Click to show internal directories.
Click to hide internal directories.