{"name":"angular-estree-parser","version":"2.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/ikatyang/angular-estree-parser.git"},"homepage":"https://github.com/ikatyang/angular-estree-parser#readme","author":{"name":"Ika","email":"ikatyang@gmail.com","url":"https://github.com/ikatyang"},"license":"MIT","scripts":{"prepublish":"yarn run build","lint":"tslint -p ./tsconfig.json","test":"jest","prebuild":"rm -rf ./lib","build":"tsc -p ./tsconfig.build.json","release":"standard-version"},"dependencies":{"lines-and-columns":"^1.1.6","tslib":"^1.9.3"},"devDependencies":{"@angular/compiler":"9.1.0","@babel/code-frame":"7.8.3","@babel/parser":"7.6.4","@babel/types":"7.1.5","@types/babel-types":"7.0.4","@types/babel__code-frame":"7.0.1","@types/jest":"23.3.14","@types/prettier":"1.18.3","jest":"23.6.0","jest-snapshot-serializer-raw":"1.1.0","prettier":"1.18.2","prettier-config-ikatyang":"1.1.1","standard-version":"4.4.0","ts-jest":"23.10.5","tslint":"5.20.1","tslint-config-prettier":"1.18.0","tslint-plugin-prettier":"2.1.0","typescript":"3.7.5"},"peerDependencies":{"@angular/compiler":"^9.1.0"},"engines":{"node":">= 10.13.0"},"gitHead":"4c8cab3cdb62fb914fa61af187ea632d0766d377","bugs":{"url":"https://github.com/ikatyang/angular-estree-parser/issues"},"_id":"angular-estree-parser@2.0.3","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-IJ1X6QUZuqkk4U0F92zm3HH9kb6PedPYN7YMcCKwwsKd/GknlcJ6jn70FO80nntuaiaFHoseet6bY1oZpQ4NyQ==","shasum":"9bd11af19853fdf3101a85fa71d75227885b21f1","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-2.0.3.tgz","fileCount":16,"unpackedSize":46587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJet6JvCRA9TVsSAnZWagAAPfcP/RaaLyVxZV+gm439V3kH\npIwnIf4fPPMVD2GKPczp0rPuKBmypdk5yw6yjc5v4MPQ2frGrGsJ7vUhK54j\n6riY1GTj6qyhbVfTY0M/XmpSNInfvy8m5l4JK4LImmJx0//ufRfeMXJCyxQk\nXxWyPx9ZmJomq/9jrGB4q4k8zMFIFaxS5emTnWXFeARwPojSwhmbHwDyb/4+\nbhGMObdcYZTaFC1Dt3c9BCr9U/OeyeCiOqQcdMvkZttPBbnzCogAsrDiDryJ\nnVAsQPZMFqQ2tmTEyId8S7CziTFxj/YJGoYpxtfXPuSTIpqASh47j+VMrJES\nPbHReBmnzVcby9ujsH5Cbxua+X1m4bakqLpR8x2JN7FG5tBDXMZ1RvEN79uW\nTYKY24VNQI///4jwok/V8+WJC5k4IA9HR9YFzUd2z5ZcZcOFd8/QDErrbWri\n9+Sighx6PEdTPNv66lVSPFL6RoOhP+s51ZZDd9LNk3upGuty26x8a/ETojIM\nKWhArb5lpvIK+0oXo7Z7SSe9ckKxavNoLSlh7GV5ga7B+9cBoe0G+FhTWk/W\nams4Xsa6LDojYuurelSX5gEXjtlxTI3OHVR6GPPAdpLJl/+s4O9pLRSEqMcq\nbAV+rcOKyZHiKszZNlS+Uy0w/buq6WtBl8pJ4bB/j2k09l6dSGK1+FQUzlVO\nXBrT\r\n=eqSK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDunOFEt3vspfjiVmQnsK0nrhTUjJis9p304dwJIjFQ0AIhALB92djI0YEgVRU2auKDB9outFdGq29z8r3KYLITPr26"}],"size":10382,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-2.0.3.tgz"},"maintainers":[{"name":"ikatyang","email":"ikatyang@gmail.com"}],"_npmUser":{"name":"ikatyang","email":"ikatyang@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-estree-parser_2.0.3_1589092975102_0.3277599257656987"},"_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":1589092975234,"_cnpm_publish_time":1589092975234,"dist-tags":{"latest":"15.5.0"}}