JSPM

  • Created
  • Published
  • Downloads 1015772
  • Score
    100M100P100Q201599F
  • License MIT

Search and Rewrite code at large scale using precise AST pattern

Package Exports

  • @ast-grep/napi
  • @ast-grep/napi/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ast-grep/napi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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