{"name":"angular-estree-parser","version":"2.5.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":"^2.0.3"},"devDependencies":{"@angular/compiler":"12.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":"2.3.0","jest":"23.6.0","jest-snapshot-serializer-raw":"1.1.0","prettier":"2.3.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.3.0","typescript":"4.1.2"},"peerDependencies":{"@angular/compiler":"^9.1.0 || ^10.0.0 || ^11.0.0 || ^12.0.0"},"engines":{"node":">= 10.13.0"},"gitHead":"f69d6b95ac7ad069796b04a4d2e837105c9d30cc","bugs":{"url":"https://github.com/ikatyang/angular-estree-parser/issues"},"_id":"angular-estree-parser@2.5.1","_nodeVersion":"17.6.0","_npmVersion":"8.5.1","dist":{"integrity":"sha512-QP+1HEp9sUV3/ADU02IRc+Vn9vvWZS2rRkxiXCpSpZZx3BqcYTm2Eg/gWwLG3H9XASXnf9i1KyNOIYyRy5Ja+w==","shasum":"a08791f64f1a9453ecb99be5379f7f282e46c6ca","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-2.5.1.tgz","fileCount":15,"unpackedSize":43883,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhZS6xzJohNySKcLn/x5PUFd39DWMsJpSlyxlERskfwQIgNh8C9duuIWFBMZSbS0JU7N0IaWtbtlbUobdUDzWGRnU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio/y9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpL4g/7BbjEI9Hx7z6TLSZhZlnFyckTz+05pC54MXJnkNjsH8bHTi1m\r\nsgr95Ow4EPicjNVzSMXyjZy6NxmM/plEdyiRrPJNalHm3NHmaVY0XIn1izU9\r\n5Y0AI0600xeZtWtq4/A9c+l5Rzv6mhNK2zhJzxXzffni0TzBP+Di3V7u/cFa\r\nPqJUZYYppNR7XAfakhxj3yZf299uExyrPJ02J1mJqGnjOGvas/We1X/RpLVS\r\n5a8u5pSnHZAeMrlKFLFnvdYzoSLsnimba3lDelfNXe8r/vi7tpUhOu5W6U3x\r\n7sIzbjgCk7EdsQoXKo+kZFCQ5nZzaiEHwILp8fWTxhbt4sntvxwyjF+mi26Y\r\n7cjhO2BPNJbu19tgYoR0tvWDeWIU8M8x86qkfAllUgnXyvJevCTIFBinct8p\r\nnVxh1eMCHS0TmaH3cMJv1haBontr9hwalyuk6HeoYzckle340lifks5CoeGP\r\n5Y1X7hIOFJn34RaBzSPTR9OewAr4CgDGoahvi6aZETE85jG17a4D5PbY66yb\r\nrCGqGhOs49FdRBjlvHS5JvdwajTi6e0VwH/dsJE48X3unk0CTIOji4UvMaQE\r\nJIqKNDy8W+nWRVS6KrAhdHLbJ1oLCbxC3kJGm61zmh9n3V3S5VAWUoLPSLi4\r\n86OXiIRoHlhJcwiqhqM0xDpmtNM5HjQjPUk=\r\n=+LnU\r\n-----END PGP SIGNATURE-----\r\n","size":9706,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-2.5.1.tgz"},"_npmUser":{"name":"ikatyang","email":"ikatyang@gmail.com"},"directories":{},"maintainers":[{"name":"ikatyang","email":"ikatyang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-estree-parser_2.5.1_1654914237587_0.7620459399965063"},"_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":1654914237831,"_cnpm_publish_time":1654914237831,"dist-tags":{"latest":"15.5.0"}}