Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sxzz/ast-kit

A toolkit for easy Babel AST generation and manipulation.
https://github.com/sxzz/ast-kit

Last synced: 4 days ago
JSON representation

A toolkit for easy Babel AST generation and manipulation.

Awesome Lists containing this project

README

        

# ast-kit [![npm](https://img.shields.io/npm/v/ast-kit.svg)](https://npmjs.com/package/ast-kit) [![JSR](https://jsr.io/badges/@sxzz/ast-kit)](https://jsr.io/@sxzz/ast-kit) [![Unit Test](https://github.com/sxzz/ast-kit/actions/workflows/unit-test.yml/badge.svg)](https://github.com/sxzz/ast-kit/actions/workflows/unit-test.yml) [![codecov](https://codecov.io/gh/sxzz/ast-kit/graph/badge.svg?token=MHTCPNMZAK)](https://codecov.io/gh/sxzz/ast-kit)

A toolkit for easy Babel AST generation and manipulation.

[πŸ“– API Reference](https://jsr.io/@sxzz/ast-kit/doc)

## 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

```bash
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](https://ast.sxzz.moe/).

## Sponsors





## License

[MIT](./LICENSE) License Β© 2023-PRESENT [三咲智子](https://github.com/sxzz)