{"name":"ast-kit","type":"module","version":"3.0.0","description":"A toolkit for easy Babel AST generation and manipulation.","author":"Kevin Deng <sxzz@sxzz.moe>","license":"MIT","funding":"https://github.com/sponsors/sxzz","homepage":"https://github.com/sxzz/ast-kit#readme","repository":{"type":"git","url":"git+https://github.com/sxzz/ast-kit.git"},"bugs":{"url":"https://github.com/sxzz/ast-kit/issues"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"types":"./dist/index.d.ts","publishConfig":{"access":"public"},"engines":{"node":"^22.18.0 || >=24.11.0"},"dependencies":{"@babel/parser":"^8.0.0","estree-walker":"^3.0.3","pathe":"^2.0.3"},"devDependencies":{"@babel/types":"^8.0.0","@sxzz/eslint-config":"^8.2.0","@sxzz/prettier-config":"^2.3.1","@types/node":"^25.9.3","@typescript/native-preview":"7.0.0-dev.20260616.1","@vitest/coverage-v8":"^4.1.9","@vitest/ui":"^4.1.9","bumpp":"^11.1.0","eslint":"^10.5.0","prettier":"^3.8.4","tsdown":"^0.22.2","tsdown-preset-sxzz":"^0.6.0","typescript":"6.0.3","vitest":"^4.1.9"},"resolutions":{"vite":"^8.0.16"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint .","lint:fix":"pnpm run lint --fix","build":"tsdown","test":"vitest","release":"bumpp","typecheck":"tsgo --noEmit"},"_nodeVersion":"24.16.0","_id":"ast-kit@3.0.0","dist":{"integrity":"sha512-8OG92q3R35qjC/4i6BLBMg8IB+fClWu/1PEwg2Z9Rn+BuNaiEgJzpzn+pxWOdHJWDCAwu2JP0wCDTozAM4QirQ==","shasum":"ea5d37936a58abd6afb366ee8ef134dbc675dd83","tarball":"http://registry-npm.ywwl.com/ast-kit/download/ast-kit-3.0.0.tgz","fileCount":5,"unpackedSize":51457,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/ast-kit@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDebNnHJgQnUL5upI7i9oCnkb8NnLqN9r/YBP3jYt21KAiAL86gtygl2yeLs4xE1S8QTH1pQFv7GADsfu7fB3wJWfw=="}],"size":12147,"noattachment":false,"key":"/ast-kit/-/ast-kit-3.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4103f26e-aa90-4bf8-9745-fc6da8fe7322"}},"directories":{},"maintainers":[{"name":"sxzz","email":"npm@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ast-kit_3.0.0_1781630520354_0.26085731576151083"},"_hasShrinkwrap":false,"readme":"# ast-kit\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![JSR][jsr-src]][jsr-href]\n[![Unit Test][unit-test-src]][unit-test-href]\n[![codecov][codecov-src]][codecov-href]\n\nA toolkit for easy Babel AST generation and manipulation.\n\n[📖 API Reference](https://jsr.io/@sxzz/ast-kit/doc)\n\n## Features\n\n- **😇 Easy to Use**: Parse and resolve Babel AST with a straightforward API.\n- **🦾 Type-Friendly**: Built in TypeScript with complete type definitions.\n- **💯 Coverage**: 100% test coverage.\n- **🪶 Lightweight**: Tree-shakable with only two dependencies.\n\n## Install\n\n```bash\nnpm i ast-kit\n```\n\nRequires Node.js 20.19.0 or higher.\n\n## AST Explorer\n\nYou can explore your code's AST using the [AST Explorer](https://ast-explorer.dev/).\n\n## Sponsors\n\n<p align=\"center\">\n  <a href=\"https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg\">\n    <img src='https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg'/>\n  </a>\n</p>\n\n## License\n\n[MIT](./LICENSE) License © 2023-PRESENT [Kevin Deng](https://github.com/sxzz)\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/ast-kit.svg\n[npm-version-href]: https://npmjs.com/package/ast-kit\n[npm-downloads-src]: https://img.shields.io/npm/dm/ast-kit\n[npm-downloads-href]: https://www.npmcharts.com/compare/ast-kit?interval=30\n[jsr-src]: https://jsr.io/badges/@sxzz/ast-kit\n[jsr-href]: https://jsr.io/@sxzz/ast-kit\n[unit-test-src]: https://github.com/sxzz/ast-kit/actions/workflows/unit-test.yml/badge.svg\n[unit-test-href]: https://github.com/sxzz/ast-kit/actions/workflows/unit-test.yml\n[codecov-src]: https://codecov.io/gh/sxzz/ast-kit/graph/badge.svg?token=MHTCPNMZAK\n[codecov-href]: https://codecov.io/gh/sxzz/ast-kit\n","publish_time":1781630520514,"_cnpm_publish_time":1781630520514,"dist-tags":{"beta":"3.0.0-beta.1","latest":"3.0.1"}}