{"name":"angular-estree-parser","version":"14.0.2","keywords":[],"author":{"url":"https://github.com/ikatyang","name":"Ika","email":"ikatyang@gmail.com"},"license":"MIT","_id":"angular-estree-parser@14.0.2","maintainers":[{"name":"thorn0","email":"georgii.dolzhykov@gmail.com"},{"name":"fisker","email":"lionkay@gmail.com"},{"name":"ikatyang","email":"ikatyang@gmail.com"}],"homepage":"https://github.com/prettier/angular-estree-parser#readme","bugs":{"url":"https://github.com/prettier/angular-estree-parser/issues"},"dist":{"shasum":"6d0faaaedee4d5356d4c3bc344aa5f1a4e6cbc2a","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-14.0.2.tgz","fileCount":17,"integrity":"sha512-gDitOiw7mf1mso3se6efJAmujMDDQGPaoffyCc+agh1N5O2kdAdlV5+q+nYrcOsXw3o+Chbm6ZJmxbKewoiKKQ==","signatures":[{"sig":"MEUCIQDGb66VP8gnVLFNcm5pvJgK9VI9OOoWKjE3GbuCSpU3wAIgdTunTaS+B8D3O+uby7ECBfSOUkR4AV0b/PojKw0gkTk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35984,"size":9346,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-14.0.2.tgz"},"type":"module","engines":{"node":">= 20"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"833af52f2c81cd32dea46a3af9eb6921e537cca7","scripts":{"fix":"run-s \"fix:*\"","lint":"run-p \"lint:*\"","test":"vitest","build":"tsdown --unbundle","prepare":"yarn run build","release":"release-it","fix:eslint":"yarn lint:eslint --fix","lint:eslint":"eslint","fix:prettier":"yarn lint:prettier --write","lint:prettier":"prettier --check ."},"_npmUser":{"name":"fisker","email":"lionkay@gmail.com"},"repository":{"url":"git+https://github.com/prettier/angular-estree-parser.git","type":"git"},"_npmVersion":"9.1.2","description":"A parser that converts Angular source code into an ESTree-compatible form","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.11.0","devDependencies":{"eslint":"9.39.1","tsdown":"0.16.6","vitest":"4.0.12","globals":"16.5.0","prettier":"3.6.2","release-it":"19.0.6","typescript":"5.9.3","@types/node":"24.10.1","@babel/types":"8.0.0-beta.3","npm-run-all2":"8.0.4","@babel/parser":"8.0.0-beta.3","@angular/compiler":"21.0.0","@babel/code-frame":"8.0.0-beta.3","lines-and-columns":"2.0.4","typescript-eslint":"8.47.0","@vitest/coverage-v8":"4.0.12","eslint-plugin-unicorn":"62.0.0","eslint-config-prettier":"10.1.8","jest-snapshot-serializer-raw":"2.0.0","eslint-plugin-simple-import-sort":"12.1.1"},"peerDependencies":{"@angular/compiler":"^21.0.0"},"_npmOperationalInternal":{"tmp":"tmp/angular-estree-parser_14.0.2_1763732559807_0.6534320822155784","host":"s3://npm-registry-packages-npm-production"},"readme":"# angular-estree-parser\n\n[![Build Status][github_actions_badge]][github_actions_link]\n[![Coverage][coverage_badge]][coverage_link]\n[![Npm Version][package_version_badge]][package_link]\n[![MIT License][license_badge]][license_link]\n\n[github_actions_badge]: https://img.shields.io/github/actions/workflow/status/prettier/angular-estree-parser/ci.yml\n[github_actions_link]: https://github.com/prettier/angular-estree-parser/actions?query=workflow%3ACI+branch%3Amain\n[coverage_badge]: https://img.shields.io/codecov/c/github/prettier/angular-estree-parser/main.svg\n[coverage_link]: https://codecov.io/gh/prettier/angular-estree-parser\n[license_badge]: https://img.shields.io/npm/l/angular-estree-parser.svg\n[license_link]: https://github.com/prettier/angular-estree-parser/blob/main/LICENSE\n[package_version_badge]: https://img.shields.io/npm/v/angular-estree-parser.svg\n[package_link]: https://www.npmjs.com/package/angular-estree-parser\n\nA parser that converts Angular source code into an ESTree-compatible form\n\n[Changelog](https://github.com/prettier/angular-estree-parser/blob/main/CHANGELOG.md)\n\n## Install\n\n```sh\n# using npm\nnpm install --save angular-estree-parser @angular/compiler\n\n# using yarn\nyarn add angular-estree-parser @angular/compiler\n```\n\n## Usage\n\n```js\nimport * as ngEstreeParser from 'angular-estree-parser';\n\nconst ast = ngEstreeParser.parseBinding('a | b:c');\n//=> { type: \"NGPipeExpression\", ... }\n```\n\n## API\n\n- `parseAction(input: string): AST` for `(target)=\"input\"`\n- `parseBinding(input: string): AST` for `[target]=\"input\"`\n- `parseInterpolationExpression(input: string): AST` for `{{input}}`\n- `parseTemplateBindings(input: string): AST` for `*directive=\"input\"`\n\n## Development\n\n```sh\n# lint\nyarn run lint\n\n# build\nyarn run build\n\n# test\nyarn run test\n```\n\n## License\n\nMIT © [Ika](https://github.com/ikatyang)\n","publish_time":1763732560002,"_cnpm_publish_time":1763732560002,"dist-tags":{"latest":"15.5.0"}}