Skip to main content

package

Description

Package on the platform or OS

Init

package(name string)

Fields

IDTYPEDESCRIPTION
namestringName of the package
descriptionstringPackage description
versionstringCurrent version of the package
archstringArchitecture of this package
epochstringEpoch of this package
formatstringFormat of this package (e.g., rpm, deb)
statusstringStatus of this package (e.g., if it is needed)
purlstringPackage URL
cpes[]core.cpeCommon Platform Enumeration (CPE) for the package
originstringPackage origin, may include version if available (optional)
availablestringAvailable version
installedboolWhether the package is installed
outdatedboolWhether the package is outdated
files[]pkgFileInfoPackage files