{"name":"angular-estree-parser","version":"3.0.0","description":"A parser that converts Angular source code into an ESTree-compatible form","keywords":[],"main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/prettier/angular-estree-parser.git"},"homepage":"https://github.com/prettier/angular-estree-parser#readme","author":{"name":"Ika","email":"ikatyang@gmail.com","url":"https://github.com/ikatyang"},"license":"MIT","scripts":{"prepublish":"yarn run build","fix":"yarn prettier . --write","lint":"yarn prettier . --check && tslint -p ./tsconfig.json","test":"jest","prebuild":"rm -rf ./lib","build":"tsc -p ./tsconfig.build.json","release":"standard-version"},"dependencies":{"lines-and-columns":"^2.0.3","tslib":"^2.4.0"},"devDependencies":{"@angular/compiler":"12.1.0","@babel/code-frame":"7.18.6","@babel/parser":"7.19.3","@babel/types":"7.19.3","@types/babel-types":"7.0.11","@types/babel__code-frame":"7.0.3","@types/jest":"29.0.3","@types/prettier":"2.7.1","jest":"29.0.3","jest-snapshot-serializer-raw":"1.2.0","prettier":"2.7.1","standard-version":"9.5.0","ts-jest":"29.0.2","tslint":"6.1.3","tslint-config-prettier":"1.18.0","tslint-plugin-prettier":"2.3.0","typescript":"4.8.4"},"peerDependencies":{"@angular/compiler":"^9.1.0 || ^10.0.0 || ^11.0.0 || ^12.0.0"},"engines":{"node":">= 14"},"type":"module","gitHead":"4757ca2c021b02085f1ba87a7dff6ce3214f35f6","bugs":{"url":"https://github.com/prettier/angular-estree-parser/issues"},"_id":"angular-estree-parser@3.0.0","_nodeVersion":"18.8.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-egT4BwLLZbeN6sk67JDQCubpADzRHLhXDMXSK1MHfu0/YnQ0D/ux5Xcltv8vxMZZ2fiZzs7o4sAbOQ+jx3D2Ww==","shasum":"d1f5cb102f1f622cd2561e05edb5703e0d7866d0","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-3.0.0.tgz","fileCount":16,"unpackedSize":56193,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHRymyUnByoI1Np/3uWBsFYZSDaRXg0UCCnAOPzbzod3AiB45DM07y+FhWIirgh/sGcSKbfm4SxEXWKq9K+wRp4cgQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQjzKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9jg//fKdfAupdIY6ZFVFN81CuAQ8WqZjiQVY6ojdn5lPbnDLTHd/O\r\n5Sj5nFVR7/QXNeZIO3BZdAzQWGphPj9hjfm7qV6ylezTwgxp2xMgGf4MN5EF\r\nkA1IpUkaUHjAYtzppYuqJaJGbvSaF6R322JW7aCJtCuI0vLb8D2203I0ef26\r\npu57f/RqMAz/W0/A0/i1ylkPe1lu/SBIMNwB79jWGCSN3p8JgqTOyN1JEXHT\r\nyvQZVK5BMWMPUq8p8INJPtVoAJzdsISK5nJc4rvO5ssi49dhH+1+wXrd7exC\r\n1oU0zn4bFA3wkS1FW5WoaqJBowtATH2zIMSp0jFXgG8VRbnL6cV7FnTAg0wi\r\nQwamWjMeCkJhXR0wsCBlOwh11VUJ4cZnwDkHNlmkC6f/8IDFJlbCyTqlePkF\r\n7ePQRpOfFLSWM6a6XbsOxh+56HcOu2pQODK5m8vx7XUyBHDZV8JiJ8kPzH8J\r\nmM3oINgPm01ZjNRtZSZvbZYMMtd4a0db5J+WFtpk+itCBAKUlwoxuWJFzu8g\r\n9G48GYmerYXqVmB1SdbaYIAh0PvwueopBgDAOy1m9B6uGYd2OCZFS3DHMIk9\r\nImNkdNViG3o+Md33SMRug3NoLyJuJJpHeNkEHZkcxnqW4VEu/61Rb00ONxSb\r\nlGhjC+t3hgTiRFHU3SvqdbT6/FcOaiXohNo=\r\n=euZD\r\n-----END PGP SIGNATURE-----\r\n","size":11965,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-3.0.0.tgz"},"_npmUser":{"name":"fisker","email":"lionkay@gmail.com"},"directories":{},"maintainers":[{"name":"thorn0","email":"georgii.dolzhykov@gmail.com"},{"name":"fisker","email":"lionkay@gmail.com"},{"name":"ikatyang","email":"ikatyang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-estree-parser_3.0.0_1665285322592_0.9286806409581108"},"_hasShrinkwrap":false,"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":1665285322775,"_cnpm_publish_time":1665285322775,"dist-tags":{"latest":"15.5.0"}}