{"name":"angular-estree-parser","version":"5.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":{"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","prebuild":"del-cli ./lib","build":"tsc -p ./tsconfig.build.json","release":"yarn build && standard-version"},"dependencies":{"lines-and-columns":"^2.0.3","tslib":"^2.4.1"},"devDependencies":{"@angular/compiler":"15.0.0","@babel/code-frame":"7.18.6","@babel/parser":"7.20.3","@babel/types":"7.20.2","@types/babel-types":"7.0.11","@types/babel__code-frame":"7.0.3","@types/jest":"29.2.3","@types/prettier":"2.7.1","@typescript-eslint/eslint-plugin":"5.43.0","@typescript-eslint/parser":"5.43.0","del-cli":"5.0.0","eslint":"8.28.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","jest":"29.3.1","jest-snapshot-serializer-raw":"1.2.0","npm-run-all":"4.1.5","prettier":"2.7.1","standard-version":"9.5.0","ts-jest":"29.0.3","typescript":"4.9.3"},"peerDependencies":{"@angular/compiler":"^15.0.0"},"engines":{"node":">= 14"},"type":"module","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"gitHead":"3ba7b7b9d7457265ab3a01044bc6ea65ef28135f","bugs":{"url":"https://github.com/prettier/angular-estree-parser/issues"},"_id":"angular-estree-parser@5.0.1","_nodeVersion":"18.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-sgzIHfoDCwUirJenKrQHkvUPg2KzyKioG+pSMRyZs6GF2NYG+EcX1mpI+NcvYo704cI9vz4ydAWW6/ctZCbCtA==","shasum":"b18bd19323f5b8336232a4390bbfdb9dde482dff","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-5.0.1.tgz","fileCount":16,"unpackedSize":57555,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcZ6heLa01+FP3flWLjlvJtpg9xZQVhdp1hXkYRfv2EAiA1z5i5Zfr7s/va3Pog4U6jg8oSiCxS7Re1Q3s4HLT2GQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjed+tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEkw//egix/gEtP5ZX/4VHnm17fUSyc7GNHxV8JDPxCVsKkILdnyjs\r\nUx+DvRQtunMUmrGdP3+sWDoRfQX9t9KTwhUgl3izxqdnzirk05OGPeke4ADQ\r\n3hwf8FJo6ijCBEGC+Rc4LRKgEjer9YtVqPgTwO2NihnB0+pDIMRi2xDTtkmP\r\n9pHQpk6WX15Nj0J+hQNoh613LfnywaEt4X7DVJ4VzJ9D0R4gPTKZtPIzzmJP\r\nBoUNS85cU6E/kxR5AFeNyajVxUt5Xd2i9IVuyGnvfDAj1UQd+JEBn5CjyfPG\r\nY1cY9xnRrUZ1V8POUi5hzeTz/pAbArz9Yl5/ih1BVqD4N/5kums4xQCXMw+i\r\n6JfrbKzXFj4co6Q85gWVVhHY3Iihfs0kSYx6s5V1qXiIs9wcVcyJyMh8d48M\r\ndr4b0LJXQQd9u1KO/P4Ujl17wgsVwGeR5vJ8oSGmG6v4ho0Pzy4Sqdqmv/0A\r\nKQcRHOSlBaHhZ5yf5cfTYBn5pPNJAtVHZO46PlEq9iioc30PnJt4pT0aDz0n\r\ngjazDR0pxDExpG7RoqAgVzzxZjqMP3rbmSC38LWtBYUEXC8cu/OfhVeAnJ7b\r\n0gNpFJXtstmtCWY6lzgB7Y+Y3yOzPy8BF0JR25ytLoSJcKiONczNPbQV5FO7\r\nRpv3hqm4LS5SfLOcs6VxdGtzfBr+bk2p2U8=\r\n=poFu\r\n-----END PGP SIGNATURE-----\r\n","size":12607,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-5.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_5.0.1_1668931501202_0.2545418324060704"},"_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":1668931501408,"_cnpm_publish_time":1668931501408,"dist-tags":{"latest":"15.5.0"}}