github-linguist

We use this library at GitHub to detect blob languages, highlight code, ignore binary files, suppress generated files in diffs, and generate language breakdown graphs.

Types
Docs
Guides
Zeitwerk
Namespace
Optimized