Search and rewrite code at large scale using precise AST pattern matching.
# Cargo.toml
[dependencies]
ast-grep-core = "0.43.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Search JavaScript code for pattern matches.
Enable the corresponding feature in Cargo.toml: ast-grep-core = { features = ["javascript"] }No dependency data recorded yet.