
ast-grep
7.0#3 in code search toolsFree planFree planWebAPIExtensionLinux
Visit
| Fact | ast-grep | jscodeshift |
|---|---|---|
| Distribution | The 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`. |
| Purpose | ast-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. |
No prices published.
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.
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.