{"name":"angular-estree-parser","version":"4.0.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/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":{"prepublish":"yarn run build","fix":"yarn prettier . --write","lint":"yarn prettier . --check && tslint -p ./tsconfig.json","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","prebuild":"rm -rf ./lib","build":"tsc -p ./tsconfig.build.json","release":"yarn build && standard-version"},"dependencies":{"lines-and-columns":"^2.0.3","tslib":"^2.4.0"},"devDependencies":{"@angular/compiler":"14.2.5","@babel/code-frame":"7.18.6","@babel/parser":"7.19.3","@babel/types":"7.19.3","@types/babel-types":"7.0.11","@types/babel__code-frame":"7.0.3","@types/jest":"29.0.3","@types/prettier":"2.7.1","jest":"29.0.3","jest-snapshot-serializer-raw":"1.2.0","prettier":"2.7.1","standard-version":"9.5.0","ts-jest":"29.0.2","tslint":"6.1.3","tslint-config-prettier":"1.18.0","tslint-plugin-prettier":"2.3.0","typescript":"4.8.4"},"peerDependencies":{"@angular/compiler":"^14.0.0"},"engines":{"node":">= 14"},"type":"module","gitHead":"0fd5a99a0506b50c30ab1288d3f8bde654e96433","bugs":{"url":"https://github.com/prettier/angular-estree-parser/issues"},"_id":"angular-estree-parser@4.0.1","_nodeVersion":"16.17.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-3U3rlKTysw+fjwtNYpghS2K8LZF3Uo7rVhYLKz4ZzdBRVP2GO6tEx++wkz65dNYGaaNHEqh8r/uV1+syJKOCDA==","shasum":"6ed33264b9b6961bf26cc276597e2edf4c5fab9e","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-4.0.1.tgz","fileCount":16,"unpackedSize":56044,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzGHMuFN/IH+QozmL2x2w76BTr6C+zq0le58Cdi9SWHwIgTGkJBAikg3+1Z4wb/u2V3aHbtXPNrN8T/p8shLBMEzs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQ/LfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7ZA/+M5+xW1HxVbuGaF8G+aaqCzUGDruQv/xIvdWTQ4CDF10D1hPm\r\n3JnhX8GwzcNooCw/b0c3reAwEN59orw3sLdwnL8+6+f6IYxM8vclewBrDIbK\r\no3912ixjGLXLgiFcOMo6+TO/4gZYTxdjDgKjdyWh6eCsSXkTa0VoJXcWrfdk\r\nf4rEqIfuKh6dbK5oaspbYQj8pXTtnfIOJB7SJ/Iq/zIYW8+uZuFGVCgI9sNg\r\nH2LxgHI1rMVd8Fqf795oTVascQSYCbZV9lXKcMBGFARzbwIbZBtkscqzA1+b\r\nJOois3DJtvMyS/m1InZK2/1z/dQ0ZnXWcEAa+sna58CLK1O612TURf0/rM9B\r\nhH5J0wRADfbng8runPhmYJ2PRaSpav5y2rNHFxs4KhQREaWzWk6dgg6uqhvI\r\n0jzFQ2tDLQl1x0Qh5AhGdEh1hC2fminqp8+hS3vDgx0wkJ6/+L3lkBWBDgi7\r\ndQ9ftmkHq1J3YUit2p7SJhshPPoXT/E1TlzWph4Sz8anUKwF4jzEzEyDaYV5\r\nQuNVbkVgevVnNp+B4OuHiU19wNwLQX/saGQTrNqbmtJwqiZjlXbGnYPm7jid\r\nHzLSFRXOy5jewZfNKCAf9hTqX8bp6bxJWUUNuRJIJRyBeLPOMbOFfnRArk/t\r\nl1HKiSLSTAwy1uxxbaQxAGu/f4PJEqFeDG0=\r\n=SawA\r\n-----END PGP SIGNATURE-----\r\n","size":12163,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-4.0.1.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_4.0.1_1665397471050_0.37972128623916634"},"_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":1665397471253,"_cnpm_publish_time":1665397471253,"dist-tags":{"latest":"15.5.0"}}