{"name":"angular-estree-parser","version":"10.1.0","keywords":[],"author":{"url":"https://github.com/ikatyang","name":"Ika","email":"ikatyang@gmail.com"},"license":"MIT","_id":"angular-estree-parser@10.1.0","homepage":"https://github.com/prettier/angular-estree-parser#readme","bugs":{"url":"https://github.com/prettier/angular-estree-parser/issues"},"dist":{"shasum":"b6cebb805ddc6a18f2b1d3fc121f73c58c59030d","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-10.1.0.tgz","fileCount":21,"integrity":"sha512-1ZM3BQohvnqElp3a28NA3LHN6wXAHGWvKJCS927YoRVHrT1djAb3M6CBAqeYVaf4sRC8ojk+R8lyGVeIP11VHw==","signatures":[{"sig":"MEYCIQDLl556giqAKLyQTF1leMNIBNtB/WLmpsjj1ZOTAHI+PAIhAL3h0OLjvaKHrksmJj9l7bY716z/crbpa1lD2CLSf19D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43781,"size":9714,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-10.1.0.tgz"},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">= 16"},"gitHead":"56304fbf201d9768853b8761223a53f1c75bb4cc","scripts":{"fix":"run-s \"fix:*\"","lint":"run-p \"lint:*\"","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"yarn clean && tsc -p ./tsconfig.build.json","clean":"del-cli ./lib","prepare":"yarn run build","release":"yarn build && standard-version","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":"10.7.0","description":"A parser that converts Angular source code into an ESTree-compatible form","directories":{},"_nodeVersion":"20.15.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.2","devDependencies":{"jest":"29.7.0","eslint":"9.15.0","del-cli":"6.0.0","globals":"15.12.0","ts-jest":"29.2.5","prettier":"3.3.3","typescript":"5.7.2","@types/jest":"29.5.14","npm-run-all":"4.1.5","@babel/types":"7.26.0","@babel/parser":"7.26.2","standard-version":"9.5.0","@angular/compiler":"19.0.0","@babel/code-frame":"7.26.2","lines-and-columns":"2.0.4","typescript-eslint":"8.15.0","eslint-plugin-import":"2.31.0","eslint-plugin-unicorn":"56.0.1","eslint-config-prettier":"9.1.0","@types/babel__code-frame":"7.0.6","jest-snapshot-serializer-raw":"1.2.0","eslint-plugin-simple-import-sort":"12.1.1"},"peerDependencies":{"@angular/compiler":"^17.3.9 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/angular-estree-parser_10.1.0_1732528659442_0.3676789870124211","host":"s3://npm-registry-packages"},"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":1732528659600,"maintainers":[{"name":"thorn0","email":"georgii.dolzhykov@gmail.com"},{"name":"fisker","email":"lionkay@gmail.com"},{"name":"ikatyang","email":"ikatyang@gmail.com"}],"_cnpm_publish_time":1732528659600,"dist-tags":{"latest":"15.5.0"}}