{"name":"angular-estree-parser","version":"3.0.2","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":"b9cbcf58e9ba2a4fc38feefe428efa4c4d66066f","bugs":{"url":"https://github.com/prettier/angular-estree-parser/issues"},"_id":"angular-estree-parser@3.0.2","_nodeVersion":"18.8.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-oLLRocBE7Y+t7LvaTEqSdKn87I/uRQrJc42Mt0sYJhxvtoXikccfHvsi95m1rfsOCHbKtvW1Sdgd9MeMkwhRWw==","shasum":"7c5c0a72ef2e4d042f5f129723b4259e3909e973","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-3.0.2.tgz","fileCount":16,"unpackedSize":56842,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOyrUwAlo6Xc8E7uY9cJY6isfUy58fYkrDk+H4YNW4cAIgOpWAvVNCf8lOOzOQrKSDHmRHK7UaUbEwUTtFDu3Tvng="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQmcmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7JxAAoe72oJ/BHLLA7I83AjRVTLkRtLp1FUxU+z9YU/Qoc/YcLeBh\r\npJiPU4qcHEMILJieqF0uZyWJAZ/g1KKCXsxhRZx2OPt4w5i2X4tiyPiH4ZDv\r\nNpw8usM+IViHw9H6OJaCW4C7IrnJBBILfAUgzm7N0VhOQkkw1xBXo3btOJVq\r\nOpcbTqg4TVsibCrjgYB0MQxtP77lkLRZcrvwJ44w/sgLYQuRcD3+KzSwfQ9A\r\nyJLWyanXvsKW2QDetD6rSo4T9I1FQA6D6yGSMUQBnqDATQbZmExGyHgk8n7t\r\ne5izRDlUmMfwkU6uqs67ZHMA6PPfPi987uO4tk9CSqmH8ilY4amsYPMCF6j8\r\no1P8rK1/bfla4/1wNdzrmlC7TYoy3mRx76U66V3c/me23GblOrHiubjVHHWI\r\nn9UfMnDch++DNRBsGOZnJpwTRnb40bzDElCr/kuRxMzjpDuhpwLT9gTAaqEs\r\ng/v3wnl20Y6ymQNbVwfDr0hoivoWbaG2WLjRSVaQdKND+w0uFDcX8iycUzkd\r\nVJzayn6+FQLeq9vSbMsKjtA9royMAjD6N+nJHJadYYHrmjaVtMsSoX09+iFw\r\nOXMkwXa1vWEwWk7okMeFIofk9fPlcGizPeidWaZM6ALJecGp3jB7dxbyyUyh\r\nF/PmKrdJZs5eE1qlmkTOvuQtMMNLYHyEkLQ=\r\n=S/g+\r\n-----END PGP SIGNATURE-----\r\n","size":12088,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-3.0.2.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.2_1665296166183_0.4636865001154433"},"_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":1665296166360,"_cnpm_publish_time":1665296166360,"dist-tags":{"latest":"15.5.0"}}