⚡A fast and polyglot tool for code structrual search, lint and rewriting at large scale.

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

  • ast-grep
  • ast-grep
  • ast-grep

Comments, support and feedback

  • Alexander Isora
    a year ago

    excited to see what this can do 🤗congrats on the launch 🎉

  • Ghulam Abbas
    a year ago

    Congratulations on the launch!

About this launch

ast-grep was launched by Herrington Darkholme in January 31st 2023.

  • 7
    Upvotes
  • 6897
    Impressions
  • #4
    Week rank

Trending launches