ast-grep
⚡A fast and polyglot tool for code structrual search, lint and rewriting at large scale.
ast-grep is a tool to structural search code by pattern code. It is like your old-friend grep but it matches AST nodes instead of text. You can write patterns as if you are writing ordinary code. ast-grep is a versatile tool. You can use it as a searcher, a linter and a code refactoring tool.
Think ast-grep as an hybrid of grep, eslint and codemod.
Classified in
Comments, support and feedback
About this launch
ast-grep was launched by Herrington Darkholme in January 31st 2023.
- 7Upvotes
- 6897Impressions
- #4Week rank