sxzz / ast-kit

A toolkit for easy Babel AST generation and manipulation.

Home Page:https://jsr.io/@sxzz/ast-kit

Repository from Github https://github.comsxzz/ast-kitRepository from Github https://github.comsxzz/ast-kit

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 三咲智子

About

A toolkit for easy Babel AST generation and manipulation.

https://jsr.io/@sxzz/ast-kit

License:MIT License


Languages

Language:TypeScript 99.7%Language:JavaScript 0.3%