langs library

Classes

CodeLanguage
A bundled TextMate grammar and its metadata (id, aliases, display name, classification, and the embedded grammars it depends on).
CodeLanguages
Typesafe, tree-shakeable access to every language grammar bundled with the package. Referencing a member (e.g. abap) pulls in only that grammar and its embedded dependencies; grammars you never reference are tree-shaken out of the build.

Enums

GrammarCategory
The classification tags a CodeLanguage can carry, mirroring the GrammarCategory union from tm-grammars.