{"name":"ast-kit","version":"0.11.1","license":"MIT","_id":"ast-kit@0.11.1","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":"cc04f58e891c50b529227ca7d7bdd935eaa22895","tarball":"http://registry-npm.ywwl.com/ast-kit/download/ast-kit-0.11.1.tgz","fileCount":8,"integrity":"sha512-pbriAgko/hGuAFu+Elxpt1ptAZIf0jk7vENkSvhSEClv1vQnc/k1oPzuEiYZx5NonE7VPr5wsv+R7PNjAFkisg==","signatures":[{"sig":"MEUCIE7qsuAJ/FKHxSaJRrxnI6CannRsSD9UrGiG6I1B0ZyCAiEAurXTxWa4gqW8LSZ+ko24JPvhM87UrpaOswY7GD8w0EM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73633,"size":9982,"noattachment":false,"key":"/ast-kit/-/ast-kit-0.11.1.tgz"},"main":"./dist/index.js","type":"module","_from":"file:ast-kit-0.11.1.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/d8c79a60a9c36f3b0921e80d392cb423/ast-kit-0.11.1.tgz","_integrity":"sha512-pbriAgko/hGuAFu+Elxpt1ptAZIf0jk7vENkSvhSEClv1vQnc/k1oPzuEiYZx5NonE7VPr5wsv+R7PNjAFkisg==","repository":{"url":"git+https://github.com/sxzz/ast-kit.git","type":"git"},"_npmVersion":"9.6.7","description":"AST Toolkit.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"pathe":"^1.1.1","@babel/parser":"^7.22.11","@rollup/pluginutils":"^5.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.0","devDependencies":{"tsx":"^3.12.7","tsup":"^7.2.0","bumpp":"^9.2.0","eslint":"^8.48.0","vitest":"^0.34.3","prettier":"^3.0.2","fast-glob":"^3.3.1","@vitest/ui":"^0.34.3","typescript":"^5.2.2","@types/node":"^20.5.7","@babel/types":"^7.22.11","estree-walker":"^3.0.3","@sxzz/eslint-config":"^3.4.0","@vitest/coverage-v8":"^0.34.3","@sxzz/prettier-config":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/ast-kit_0.11.1_1693308859487_0.8749615055499869","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":1693308859731,"_cnpm_publish_time":1693308859731,"dist-tags":{"beta":"3.0.0-beta.1","latest":"3.0.1"}}