mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 17:03:17 +01:00
Signed-off-by: Alex Goodman <alex.goodman@anchore.com> Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
15 lines
690 B
Go
15 lines
690 B
Go
package pkg
|
|
|
|
// NpmPackageJSONMetadata holds extra information that is used in pkg.Package
|
|
type NpmPackageJSONMetadata struct {
|
|
Name string `mapstructure:"name" json:"name"`
|
|
Version string `mapstructure:"version" json:"version"`
|
|
Files []string `mapstructure:"files" json:"files,omitempty"`
|
|
Author string `mapstructure:"author" json:"author"`
|
|
Licenses []string `mapstructure:"licenses" json:"licenses"`
|
|
Homepage string `mapstructure:"homepage" json:"homepage"`
|
|
Description string `mapstructure:"description" json:"description"`
|
|
URL string `mapstructure:"url" json:"url"`
|
|
Private bool `mapstructure:"private" json:"private"`
|
|
}
|