Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dependencies ¶
type Dependencies []Dependency
func (*Dependencies) UnmarshalJSON ¶
func (vs *Dependencies) UnmarshalJSON(b []byte) error
type Dependency ¶
type NpmPackage ¶
type NpmPackage struct { Name string `json:"name"` DistTags DistTags `json:"dist-tags"` Versions Versions `json:"versions"` }
func FetchPackage ¶
func FetchPackage(s string) (NpmPackage, error)
type Version ¶
type Version struct { Name string `json:"name"` Version string `json:"version"` Dependencies Dependencies `json:"dependencies"` Dist Dist `json:"dist"` }
func FetchPackageVersion ¶
Click to show internal directories.
Click to hide internal directories.