{"name":"angular-estree-parser","version":"14.2.1","keywords":[],"author":{"url":"https://github.com/ikatyang","name":"Ika","email":"ikatyang@gmail.com"},"license":"MIT","_id":"angular-estree-parser@14.2.1","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":"3a613fc0da1f793e6832382a37f273d7917a20de","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-14.2.1.tgz","fileCount":17,"integrity":"sha512-MR/IcvGGIU+oOtFYrlhhCKuugy7Qw2OkPIcPgdvlfnpAYvO4kgWFouRnkVJm/bB+g7ZeoN5lHBBRwyvgQ+iu1Q==","signatures":[{"sig":"MEYCIQDXO8hShY438LrJDFJLGXs6Uflh4BaWJHru2UUamDjErgIhANFR+99KmpD0x1sIx5zkJDRaMfcIymnf2/YE4Q/SOXxl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/angular-estree-parser@14.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30458,"size":8235,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-14.2.1.tgz"},"type":"module","engines":{"node":">= 20"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"8476c16cab02446e4eb119e050c3f15d72052b9e","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b1fe119e-0f5f-4329-b56f-f8c20119bd2c"}},"repository":{"url":"git+https://github.com/prettier/angular-estree-parser.git","type":"git"},"_npmVersion":"11.6.2","description":"A parser that converts Angular source code into an ESTree-compatible form","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/compiler":"^21.0.5"},"_npmOperationalInternal":{"tmp":"tmp/angular-estree-parser_14.2.1_1766078919497_0.564944700573903","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":1766078919621,"_cnpm_publish_time":1766078919621,"dist-tags":{"latest":"15.5.0"}}