ast-grep
⚡A CLI tool for code structural search, lint and rewriting. Written in Rust
Tool ast babel codemod
Minimal
Install package
Latest min add ast-grep - Source archive SHA256
- 3e5f6825…2999
- Spec hash
- 6045527d…b77a
- Target
- amd64/linux
- Needs network
- Yes
- Closed source
- No
What is ast-grep?
⚡A CLI tool for code structural search, lint and rewriting. Written in Rust
How to use this package
Quick install
Installs the package into the current environment for this session. Use --build or --runtime to persist it as a build-time or runtime dependency.
min add ast-grep Declare as a task dependency in minimal.toml
Listing the package under tasks.<name>.packages makes it available inside that task’s sandbox.
[tasks.dev]
packages = ["ast-grep"] Build-time vs runtime
Choose build-time for tools needed during compilation, runtime for dynamic libraries loaded at runtime.
min add --build ast-grep
min add --runtime ast-grep