{"name":"ast-kit","version":"2.1.3","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"ast-kit@2.1.3","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":"06419605c7258f0432eed8707fdadc0a8e967c58","tarball":"http://registry-npm.ywwl.com/ast-kit/download/ast-kit-2.1.3.tgz","fileCount":5,"integrity":"sha512-TH+b3Lv6pUjy/Nu0m6A2JULtdzLpmqF9x1Dhj00ZoEiML8qvVA9j1flkzTKNYgdEhWrjDwtWNpyyCUbfQe514g==","signatures":[{"sig":"MEUCIGqzLK3G0Pq7GCThBBOJSdu9bMKs9pS+AiAHT7KS3gP5AiEA9dNqvRhJGK0KG1AmVjI+WJ7rRbx3TC4XptLyd/33ZKE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/ast-kit@2.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60562,"size":14175,"noattachment":false,"key":"/ast-kit/-/ast-kit-2.1.3.tgz"},"main":"./dist/index.js","type":"module","_from":"file:ast-kit-2.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19.0"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"funding":"https://github.com/sponsors/sxzz","scripts":{"lint":"eslint .","test":"vitest","build":"tsdown","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4103f26e-aa90-4bf8-9745-fc6da8fe7322"}},"prettier":"@sxzz/prettier-config","_resolved":"/tmp/8ee840dac37db8eae93b804386bc0239/ast-kit-2.1.3.tgz","_integrity":"sha512-TH+b3Lv6pUjy/Nu0m6A2JULtdzLpmqF9x1Dhj00ZoEiML8qvVA9j1flkzTKNYgdEhWrjDwtWNpyyCUbfQe514g==","repository":{"url":"git+https://github.com/sxzz/ast-kit.git","type":"git"},"_npmVersion":"11.6.1","description":"A toolkit for easy Babel AST generation and manipulation.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"pathe":"^2.0.3","@babel/parser":"^7.28.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","bumpp":"^10.3.1","eslint":"^9.37.0","tsdown":"^0.15.6","vitest":"^3.2.4","prettier":"^3.6.2","fast-glob":"^3.3.3","@vitest/ui":"^3.2.4","typescript":"5.9.3","@types/node":"^24.7.0","@babel/types":"^7.28.4","estree-walker":"^3.0.3","@sxzz/eslint-config":"^7.2.7","@vitest/coverage-v8":"^3.2.4","@sxzz/prettier-config":"^2.2.4"},"_npmOperationalInternal":{"tmp":"tmp/ast-kit_2.1.3_1759765309987_0.24148213479107383","host":"s3://npm-registry-packages-npm-production"},"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":1759765310175,"_cnpm_publish_time":1759765310175,"dist-tags":{"beta":"3.0.0-beta.1","latest":"3.0.1"}}