/ast-kit

A toolkit for easy Babel AST generation and manipulation.

Primary LanguageTypeScriptMIT LicenseMIT

ast-kit npm 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 16.14.0 or higher.

AST Explorer

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

Sponsors

License

MIT License © 2023-PRESENT 三咲智子