{"name":"ast-kit","version":"1.1.0","license":"MIT","_id":"ast-kit@1.1.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":"fe7c7eb44c8d01b1c7516f544d964e88f534f769","tarball":"http://registry-npm.ywwl.com/ast-kit/download/ast-kit-1.1.0.tgz","fileCount":7,"integrity":"sha512-RlNqd4u6c/rJ5R+tN/ZTtyNrH8X0NHCvyt6gD8RHa3JjzxxHWoyaU0Ujk3Zjbh7IZqrYl1Sxm6XzZifmVxXxHQ==","signatures":[{"sig":"MEYCIQDN6x7sgXf+syreUpZpqjD0SQMCrRojT9oIQBptRJ9ZtAIhAJXRGoFcO7l0S3TAtgLJTcxFY9fBbrWwuW7RKa/MIiJs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":88087,"size":20441,"noattachment":false,"key":"/ast-kit/-/ast-kit-1.1.0.tgz"},"main":"./dist/index.js","type":"module","_from":"file:ast-kit-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=16.14.0"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"vitest","build":"tsup","release":"bumpp && pnpm publish","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"prettier":"@sxzz/prettier-config","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/a8a4ba59c54376c79a9529d79aace3f4/ast-kit-1.1.0.tgz","_integrity":"sha512-RlNqd4u6c/rJ5R+tN/ZTtyNrH8X0NHCvyt6gD8RHa3JjzxxHWoyaU0Ujk3Zjbh7IZqrYl1Sxm6XzZifmVxXxHQ==","repository":{"url":"git+https://github.com/sxzz/ast-kit.git","type":"git"},"_npmVersion":"10.8.2","description":"A toolkit for easy Babel AST generation and manipulation.","directories":{},"_nodeVersion":"20.15.0","dependencies":{"pathe":"^1.1.2","@babel/parser":"^7.25.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.17.0","tsup":"^8.2.4","bumpp":"^9.5.1","eslint":"^9.9.0","vitest":"^2.0.5","prettier":"^3.3.3","fast-glob":"^3.3.2","@vitest/ui":"^2.0.5","typescript":"5.5.4","@types/node":"^20.15.0","@babel/types":"^7.25.2","estree-walker":"^3.0.3","@sxzz/eslint-config":"^3.17.1","@vitest/coverage-v8":"^2.0.5","@sxzz/prettier-config":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ast-kit_1.1.0_1723978374315_0.2636967559177479","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":1723978374540,"_cnpm_publish_time":1723978374540,"dist-tags":{"beta":"3.0.0-beta.1","latest":"3.0.1"}}