The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Package highlight colours one line of a file by its kind, for display.
It is line-based on purpose: a diff shows lines, not files, and a line of
JSON, INI, TOML, YAML, a properties file, an ssh_config or a netrc can be
classified on its own well enough to read. It never decides anything about
the content - a wrong colour is the worst it can do - and it never builds
HTML: it returns tokens, and the caller escapes them.
Check validates a whole file for the languages that can be checked
without a parser authama does not have: JSON today. It reports whether a
check ran, and the problem if one did and failed, with its line and column.
const (
Plain Lang = ""
JSON Lang = "json"
INI Lang = "ini" // .pypirc, .gitconfig, git credential files TOML Lang = "toml"
YAML Lang = "yaml"
Properties Lang = "properties"
SSHConfig Lang = "ssh"
Netrc Lang = "netrc"
Shell Lang = "sh"
)