{"name":"angular-estree-parser","version":"7.0.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/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":{"clean":"del-cli ./lib","prepare":"yarn run build","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","lint":"run-p \"lint:*\"","lint:eslint":"eslint --ext=.ts,.js,.cjs .","lint:prettier":"prettier --check src","fix":"run-s \"fix:*\"","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write","build":"yarn clean && tsc -p ./tsconfig.build.json","release":"yarn build && standard-version"},"dependencies":{"lines-and-columns":"^2.0.3","tslib":"^2.5.0"},"devDependencies":{"@angular/compiler":"16.0.0","@babel/code-frame":"7.21.4","@babel/parser":"7.21.8","@babel/types":"7.21.5","@types/babel-types":"7.0.11","@types/babel__code-frame":"7.0.3","@types/jest":"29.5.1","@types/prettier":"2.7.2","@typescript-eslint/eslint-plugin":"5.59.2","@typescript-eslint/parser":"5.59.2","del-cli":"5.0.0","eslint":"8.39.0","eslint-config-prettier":"8.8.0","eslint-plugin-import":"2.27.5","jest":"29.5.0","jest-snapshot-serializer-raw":"1.2.0","npm-run-all":"4.1.5","prettier":"2.8.8","standard-version":"9.5.0","ts-jest":"29.1.0","typescript":"5.0.4"},"peerDependencies":{"@angular/compiler":"^16.0.0"},"engines":{"node":">= 16"},"type":"module","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"packageManager":"yarn@3.5.0","gitHead":"99146a489eeb502976d664c8ad64e8515d30788e","bugs":{"url":"https://github.com/prettier/angular-estree-parser/issues"},"_id":"angular-estree-parser@7.0.0","_nodeVersion":"18.1.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-aQxqB9sCwh2S2pu/gyLBubkMTGCOLs0C/54zrUqUOjcydyBqeQrZP+m/8otCCQvmoKEpR75A14CNFuupk1zFlQ==","shasum":"f538bf99e74d54dfafdb7114ffc5faec28d46c3c","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-7.0.0.tgz","fileCount":16,"unpackedSize":59125,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFL9q2kH27KlL4tptnrTw8YMPL/I9UqdnFS9S4QeR3YgIgaQl7mL4e1LQvItyHA90ZaPRwssctC3uFOcokDxI96X0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU4yqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+0g//T117p7ytgBa+lVrVmVJ07v1JdKR73HZdrbk3KU9yP3Zq4P3W\r\nY2V2cwHutdvmBvpHsNtw8qYP8b/6H1pbm9yLm2/kx4BlAhwsJsvFDG5cTY8B\r\nW/FqEr3wmiuYnlDdNs2v+ZX5HXo4DqNn5j4YD97Yqrnqw6IGkyhGd6qbTWgT\r\nQCVSuxe8/2+IiLDzrYPrRA6JbTmV57bUWAU+22CrtlDM3JYTeWRYcIHCqMlY\r\nA7qjDPWi2HXdM3ijFPDs0lVC+gpqWK/+duV+KAp8Lf5ZUeyDqju/gAdA8XxG\r\nOnOGT0YlN0iW2FTAN1T4ifBRXofzO8FeqsYiOcwTrlZAwpcfdchX8bU6ZXyT\r\ngiMbCit1fe417FccD7QKso72/3RR0RlVz56HFjOW3vLpJ7x5VV8Cvxhtmfg5\r\nTAx12gqTVt0PRpXwdzFyCQ5Pe51wmgDbel2Igz0At8jF89UOhqAptFFUkeHv\r\nuKBnZvzukcFa/P+xxI/AOL3GgiQWwYYKuOmyy+RQf+YAM8nGV9bRcekw3/6b\r\nqpIv2CmQbG0GJ8QyyL50e7J3qdvFwonyXC2mJVhN8tEDnNNP9xcxi0IPGSTy\r\nirsYTQ1sVdL3IZiqUbvD/HQUYN5JENpinIzM/L3DA8Hm0haeGigvW4iF0cYQ\r\nr6Vd79nx3knRCbGNeC2NHI/4II1ypZi42lo=\r\n=jQHe\r\n-----END PGP SIGNATURE-----\r\n","size":12628,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-7.0.0.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_7.0.0_1683197098689_0.456031643787173"},"_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":1683197098875,"_cnpm_publish_time":1683197098875,"dist-tags":{"latest":"15.5.0"}}