You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

ast-kit

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ast-kit

A toolkit for easy Babel AST generation and manipulation.

latest
Source
npmnpm
Version
2.2.0
Version published
Weekly downloads
3.1M
6.58%
Maintainers
1
Weekly downloads
 
Created
Source

ast-kit

npm version npm downloads JSR Unit Test codecov

A toolkit for easy Babel AST generation and manipulation.

📖 API Reference

Features

  • 😇 Easy to Use: Parse and resolve Babel AST with a straightforward API.
  • 🦾 Type-Friendly: Built in TypeScript with complete type definitions.
  • 💯 Coverage: 100% test coverage.
  • 🪶 Lightweight: Tree-shakable with only two dependencies.

Install

npm i ast-kit

Requires Node.js 20.19.0 or higher.

AST Explorer

You can explore your code's AST using the AST Explorer.

Sponsors

License

MIT License © 2023-PRESENT Kevin Deng

FAQs

Package last updated on 07 Nov 2025

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