{"name":"angular-estree-parser","version":"2.4.0","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.0.2","@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":"4.1.2"},"peerDependencies":{"@angular/compiler":"^9.1.0 || ^10.0.0 || ^11.0.0 || ^12.0.0"},"engines":{"node":">= 10.13.0"},"gitHead":"a7316da6b283d43249c396a9633bbfb0decef542","bugs":{"url":"https://github.com/ikatyang/angular-estree-parser/issues"},"_id":"angular-estree-parser@2.4.0","_nodeVersion":"15.12.0","_npmVersion":"7.6.3","dist":{"integrity":"sha512-4IVVXsO4nBFmgb4L+TgwgtWuIlH72wSaKw/ZU+x3LsQSOqvL5W8sE6JPqpwSAgrHZ1lTtWlpnr6j/r98qFqw5A==","shasum":"96c03248633067caa55aff021476056def238b3e","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-2.4.0.tgz","fileCount":16,"unpackedSize":50791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgs6dKCRA9TVsSAnZWagAA9AsP/1lkjCVYPnjLmiDmKbxL\nKI0OaeJu5uK8vi/MZoqcl8f1C3sDXscbfBRQYPX1ammugnDglCJTlG+hKDAb\nZiElHecTvLyO3+SJhZnTJtYJ6UvLM6LkGxuTPTYaosomFZ3Byn9ZBYFAR2i2\n/JjrWR+yG1cYtQRQ5ZkKlV1215uL7Sz3hKKJ3m9QZtDRmqX1mRRDi908QYgr\nBZ+lGX5/6HyjB7upC6hBq5xY/4CQQsWeXwURrOb3ck61h4dLoQVxEq/DlwbY\n6hvAe1qLW0rKcw3zSI25vuTliy5A5bL3sv2fAkoXnxQjie4WkS8R/NyAerqm\nP1TDbGJI15l++85wHSMtIj95+uJ0gM//hfsB0NMkxpY6Td1ya2HquLHHBI74\na4U3/UH2YiGplb7GFfqfnrdYiXRa6dBNH5s8GKKETjMQAseZtYkszWOycHdj\nuUegkgXD3bNgn6RoAvrmsRb0NaJmok006HMznJUFI+JWJmMuOuMTgsTJHjfW\nbZQbmfelqPNLzaPmYgkt7+5rt01yrwgxtYEXhLmSX1hCLgyrJ+Z6i3U1Q2M+\nY6YPwJECM8qX3TZ9ux9stRminQUKLCLNNS0KNV3XjgzqI2qn8OiJmBCFQ9rV\nYV9O/oO1uFxkXX8PBKZrf2R4kDVNmD65+uucGB65y6xt5cyIL581FsOYYbcC\noGEZ\r\n=m4HZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRGoqxE8+YcuH0m3yBA6oebM9YVKeWjlHBkV82MbgjfQIhANLhVTSJShCZpeL19JBn5LPHQoAs0uVRUeU/qHVGSbG2"}],"size":11092,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-2.4.0.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.4.0_1622386506107_0.971792309662898"},"_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":1622386506275,"_cnpm_publish_time":1622386506275,"dist-tags":{"latest":"15.5.0"}}