What Grit does
Grit is a declarative code search and transformation tool. Its core language is GritQL, described as a declarative query language for searching and modifying source code. Patterns use backticks and metavariables, and where clauses exclude specific cases. Auto-fix rules apply changes, and a module system provides access to 200+ standard patterns with support for sharing custom ones. The page says query optimization handles repositories with 10M+ lines. The Grit CLI, a Playground, an interactive tutorial, and a language reference are provided. Supported languages include JavaScript, TypeScript, Python, Java, Go, Rust, SQL, and Terraform. Guides cover continuous integration, VS Code, and sharing patterns. Described uses include large-scale migrations, custom linting, and dependency upgrades. The page does not state any pricing information.
How Grit compares with its closest alternatives
3 of the 5 closest alternatives have a free plan, as Grit does. 2 of the 5 offer an API, as Grit does. Grit offers a web app and a command-line tool. Of the alternatives, all 5 offer a web app and 2 offer a command-line tool. Grit was founded in 2022; the alternatives were founded between 2022 and 2023. Grit is based in San Francisco, United States; 2 of the 3 alternatives with a known headquarters are in the United States too, and the others in the United Kingdom.