EVERYTHING XIAOMI
Get listed
Side by side

ast-grep vs jscodeshift

ast-grep logo

ast-grep

7.0#3 in code search toolsFree plan
Free planWebAPIExtensionLinux
Visit

What both publish

Factast-grepjscodeshift
DistributionThe CLI is distributed through npm, Cargo, Homebrew, MacPorts, Nix, and pip, and can also be built from source.The documentation directs users to install jscodeshift from npm with `npm install -g jscodeshift`.
Purposeast-grep is a fast, polyglot tool for structural code search, linting, and rewriting at scale.jscodeshift is a toolkit for building and running codemods over multiple JavaScript or TypeScript files.

ast-grep plans

  • ast-grepFree

jscodeshift plans

No prices published.

Pick ast-grep if…

It suits developers who need syntax-aware search, linting, or bulk code changes across supported languages. Teams wanting advanced static-analysis information or one rule spanning multiple languages should note its stated limits.

Pick jscodeshift if…

It suits developers who need to detect and transform JavaScript, TypeScript, or Flow code across a project. Its CLI options and transform-testing utilities are useful for batch refactoring workflows.

Charts they share