ast-grep-napi

Crates.ioast-grep-napi
lib.rsast-grep-napi
version0.33.1
created_at2022-09-06 05:14:13.375189+00
updated_at2025-01-13 04:26:38.101206+00
descriptionSearch and Rewrite code at large scale using precise AST pattern
homepage
repositoryhttps://github.com/ast-grep/ast-grep
max_upload_size
id659293
size179,408
Herrington Darkholme (HerringtonDarkholme)

documentation

README

@ast-grep/napi

ast-grep

ast-grep(sg)

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.

Support matrix

Operating Systems

node14 node16 node18
Windows x64
macOS x64
macOS arm64
Linux x64 gnu
Windows x32
Windows arm64
Commit count: 3675

cargo fmt