Crates.io | ast-grep-napi |
lib.rs | ast-grep-napi |
version | 0.29.0 |
source | src |
created_at | 2022-09-06 05:14:13.375189 |
updated_at | 2024-10-30 05:37:15.290303 |
description | Search and Rewrite code at large scale using precise AST pattern |
homepage | |
repository | https://github.com/ast-grep/ast-grep |
max_upload_size | |
id | 659293 |
size | 141,783 |
ast-grep(sg) is a CLI tool for code structural search, lint, and rewriting.
This npm package is for programmatic usage of ast-grep. Please see the API usage guide and API reference.
Other resources include ast-grep's official site and repository.
node14 | node16 | node18 | |
---|---|---|---|
Windows x64 | ✓ | ✓ | ✓ |
macOS x64 | ✓ | ✓ | ✓ |
macOS arm64 | ✓ | ✓ | ✓ |
Linux x64 gnu | ✓ | ✓ | ✓ |
Windows x32 | ✓ | ✓ | ✓ |
Windows arm64 | ✓ | ✓ | ✓ |