🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@ast-grep/napi

Package Overview
Dependencies
Maintainers
1
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ast-grep/napi

Search and Rewrite code at large scale using precise AST pattern

Source
npmnpm
Version
0.44.0
Version published
Weekly downloads
2.6M
20.12%
Maintainers
1
Weekly downloads
 
Created
Source

@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

node14node16node18
Windows x64
macOS x64
macOS arm64
Linux x64 gnu
Windows x32
Windows arm64

Keywords

ast

FAQs

Package last updated on 22 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts