{"name":"angular-estree-parser","version":"1.3.1","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.0.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":">= 6.0.0 < 9.0.6"},"engines":{"node":">= 6"},"gitHead":"d7e7d5c5f83c36fb69a1d768bfb86ca0d8c4191b","bugs":{"url":"https://github.com/ikatyang/angular-estree-parser/issues"},"_id":"angular-estree-parser@1.3.1","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-jvlnNk4aoEmA6EKK12OnsOkCSdsWleBsYB+aWyH8kpfTB6Li1kxWVbHKVldH9zDCwVVi1hXfqPi/gbSv49tkbQ==","shasum":"5b590c3ef431fccb512755eea563029f84c043ee","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-1.3.1.tgz","fileCount":16,"unpackedSize":44271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehgNeCRA9TVsSAnZWagAAqiUP/1RP4h7DB3fPz3GHx3e2\n1eXFPv+Q05/D/nc6iWOQy9dUExn5Rcv4Avm8CAaGPqNslYPIp54d0h7N4swo\n03UlldM+VFDVb1F7iNyovM4Gj0kk2mAQPqGJ5Dbp7SNzKQ33EMrHcXxzm2sJ\n7nYvvu3kD5AsuFUqdx8GNgvRvSK03twHplfkztxQRKhLaOB2Z843TeTwyHS/\nPZY8HTjCpjzOPg/5WH8iCWcqNSEVDxHVuA6p1E+Lx8vJ3Mjiv7w6jF0cEG6e\nPBlB8K1l9jjE4lzGt5mNT2+CjPqHerMK4GT0wNZlP51pnJjDtsIA+RK8ne4V\nX3oWuiaRRGWAkSdBO+EOvkCsZAZK2PrpLtt4fe1UoaPXl9G0hrS08uMEgc4J\n9Ul8ZBaEHDzv526KDiStFGV+9SYfh3VjQvyvjU6JskT+Xr4V08TIRyS/T3zr\ngS9JkKLFRfHIZFQqGF7Jf1lTx/v7nRx0UINZDi/F4lYyvLSseAb3sD5AjEfD\nZjlMycF4v+p77lcT3FT3t5vOnTNy2iZl6GVTruKTK4oQ+CHh7eClRp4xZIws\nCkUQJYb3/MWolbsjBJ1JmyJTu7VjptFkin0Jzxq/ZVXjipTTkiLVlwMsErwR\naYipquoayqMEOGXj7Xs3ACRdIuJCRWxfGOnauQ8zC4zJoFvhwt9QL99PDHc5\nENMq\r\n=iAE0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2U9XjVad4nmHG4eg5PrAb7SRFTgtdwCZz8+APjhIf8wIhAPQkoyZbX6rBiFs2r1udwbtJG5DRFF/a0NHvqFyzz3pF"}],"size":10061,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-1.3.1.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_1.3.1_1585840990311_0.19023520923488002"},"_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":1585840990490,"_cnpm_publish_time":1585840990490,"dist-tags":{"latest":"15.5.0"}}