[READ-ONLY] Mirror of https://github.com/sxzz/ast-kit. A toolkit for easy Babel AST generation and manipulation. jsr.io/@sxzz/ast-kit
README.md

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