{"name":"ast-kit","version":"0.4.0","license":"MIT","_id":"ast-kit@0.4.0","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/ast-kit#readme","bugs":{"url":"https://github.com/sxzz/ast-kit/issues"},"dist":{"shasum":"99ed577927f2a9304e8134e6922cc38cdd09316c","tarball":"http://registry-npm.ywwl.com/ast-kit/download/ast-kit-0.4.0.tgz","fileCount":7,"integrity":"sha512-GOosMqs4VoQLgmGkUGMJg2yrjoilTX1DewUYzqnD6JYwmq+b9nk5mETtmUc4G6Cl75JdL+zhhgJ5EwM6LDhnqg==","signatures":[{"sig":"MEYCIQD5t46TWKGDItV1r9rSnfXZzLUMrL4sk4wSLpxKuXdnRwIhALn4fDTiBlnnn7MtGvl6ERuFEtWhNuoBKcgtG4w9UoTq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38900,"size":6069,"noattachment":false,"key":"/ast-kit/-/ast-kit-0.4.0.tgz"},"main":"./dist/index.js","_from":"file:ast-kit-0.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.14.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./*":"./*"},"scripts":{"lint":"eslint . --ext .vue,.js,.ts,.jsx,.tsx,.json,.md","test":"vitest","build":"tsup && tsx scripts/postbuild.mts","release":"bumpp && pnpm publish","lint:fix":"pnpm run lint --fix"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/2c0351c03fb30829cc2e1d1f7773e4da/ast-kit-0.4.0.tgz","_integrity":"sha512-GOosMqs4VoQLgmGkUGMJg2yrjoilTX1DewUYzqnD6JYwmq+b9nk5mETtmUc4G6Cl75JdL+zhhgJ5EwM6LDhnqg==","repository":{"url":"git+https://github.com/sxzz/ast-kit.git","type":"git"},"_npmVersion":"9.5.1","description":"AST Toolkit.","directories":{},"_nodeVersion":"18.16.0","dependencies":{"pathe":"^1.1.0","@babel/parser":"^7.22.4","@rollup/pluginutils":"^5.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.6.0","devDependencies":{"tsx":"^3.12.7","tsup":"^6.7.0","bumpp":"^9.1.0","eslint":"^8.41.0","vitest":"^0.31.1","prettier":"^2.8.8","fast-glob":"^3.2.12","typescript":"^5.0.4","@types/node":"^18.16.16","@babel/types":"^7.22.4","estree-walker":"^3.0.3","@vitest/coverage-c8":"^0.31.4","eslint-define-config":"^1.20.0","@sxzz/eslint-config-ts":"^2.4.6","@sxzz/eslint-config-prettier":"^2.4.6"},"_npmOperationalInternal":{"tmp":"tmp/ast-kit_0.4.0_1685807427015_0.026501565432287988","host":"s3://npm-registry-packages"},"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":1685807427169,"_cnpm_publish_time":1685807427169,"dist-tags":{"beta":"3.0.0-beta.1","latest":"3.0.1"}}