Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
sxzz/ast-kitA toolkit for easy Babel AST generation and manipulation.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
JSR Score
100%
Published
5 hours ago (1.3.2)
ast-kit
A toolkit for easy Babel AST generation and manipulation.
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
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@sxzz/ast-kit
Import symbol
import * as ast_kit from "@sxzz/ast-kit";
---- OR ----
Import directly with a jsr specifier
import * as ast_kit from "jsr:@sxzz/ast-kit";
Add Package
npx jsr add @sxzz/ast-kit
Import symbol
import * as ast_kit from "@sxzz/ast-kit";
Add Package
yarn dlx jsr add @sxzz/ast-kit
Import symbol
import * as ast_kit from "@sxzz/ast-kit";
Add Package
pnpm dlx jsr add @sxzz/ast-kit
Import symbol
import * as ast_kit from "@sxzz/ast-kit";
Add Package
bunx jsr add @sxzz/ast-kit
Import symbol
import * as ast_kit from "@sxzz/ast-kit";