{"name":"angular-estree-parser","version":"3.0.3","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":"51a199384f6e50c9a27722d2b051d4775bd0e860","bugs":{"url":"https://github.com/prettier/angular-estree-parser/issues"},"_id":"angular-estree-parser@3.0.3","_nodeVersion":"18.8.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-S2bH8kdCfS6CWhg4Lb68UCCLt9Mcz8gx5jMDeGY+6iIxptP+SHK+9yGNpJpCMR9YaEpDDJrrTGgF6y6WdcFMHA==","shasum":"e7518c1b2f17bf060258a4bbb17f27619e126ae3","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-3.0.3.tgz","fileCount":16,"unpackedSize":57077,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFm6wbUE18Jt84F9k6PK9UIXvaW7TGFzMtk65mlJyPTAiBk2LkhUVrrCwEFvfKLaL6kEhK82eok+FvwQgQf1U2GOg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQpBrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrr0BAAkej3vozrq3uTh7PZ250Gyr1jdTKk9oPetHmiXuAcn9iTIOw9\r\nGVHMgtgn6w6o3L55zIj8Mcozv3ozBsERBlKWNdtL1t2CQu29l/ZtWkJhg4le\r\nv0RrIh4p5h2S+gGVj1MZRsgA/UGG2i6RHjSMgLHobZSadoSYpbnM8lIdzyjA\r\n0gPzV/FXao4nydBIyJ5mK7bkACqcUzcs+sW4+njcnh1F+7mi14MTxlCKAZ7h\r\nqLS9pA9XxtzlicTPOJqgKsL5ieXx3NOePCyCSw1tvHgunhT7GY/pS+4ITbfQ\r\nwX3i4eOG0O5+fLOA1aUg9+9q2TezPEe/3lf9W4M8zwrLg0xc0jruuV0/NchC\r\nw0DEQloi/1PuvaJqVJmqYilpt2wf13oYnAnap9zbs3ZraHVzDgCzizBtGI/K\r\nGjuKR0rOAghtk7OBVplyChQRIuqvABSVLAtJCAtCXgjaET8KkLWWSC5K+J0O\r\na1nNelqqKJa+rnGNUrEy9g1N4ZUg8ljF9L7VbnTsTEja/sFXkQJHNBWjI/QG\r\ngP6C6UCs80nxoesashTkeBGpuo/IQGWpyTiJbSVnbp0vIZExgBbKAXtfzSBe\r\ne6tJzpU3BD0t4YyT0j0nHs0wVFcqdgJ2q/9S/ai6R9m9G4siCFGYKIChwZHp\r\nLCzrZuTwQ2+f196/zC2BHnmVh8N4soLzT9c=\r\n=Sr43\r\n-----END PGP SIGNATURE-----\r\n","size":12158,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-3.0.3.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.3_1665306730609_0.0687005410272612"},"_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":1665306731111,"_cnpm_publish_time":1665306731111,"dist-tags":{"latest":"15.5.0"}}