Documentation
¶
Overview ¶
Package pkgjson parses package.json files into a typed structure. It is the single package.json parser shared by the scope, mcp, and extract packages, wrapping encoding/json.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Name string `json:"name"`
Version string `json:"version"`
Engines map[string]string `json:"engines"`
Dependencies map[string]string `json:"dependencies"`
DevDependencies map[string]string `json:"devDependencies"`
PeerDependencies map[string]string `json:"peerDependencies"`
OptionalDependencies map[string]string `json:"optionalDependencies"`
}
File is the parsed content of a package.json (only the fields we index).
Click to show internal directories.
Click to hide internal directories.