{"name":"angular-estree-parser","version":"6.1.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":"15.2.2","@babel/code-frame":"7.18.6","@babel/parser":"7.21.2","@babel/types":"7.21.2","@types/babel-types":"7.0.11","@types/babel__code-frame":"7.0.3","@types/jest":"29.4.1","@types/prettier":"2.7.2","@typescript-eslint/eslint-plugin":"5.55.0","@typescript-eslint/parser":"5.55.0","del-cli":"5.0.0","eslint":"8.36.0","eslint-config-prettier":"8.7.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.4","standard-version":"9.5.0","ts-jest":"29.0.5","typescript":"4.9.5"},"peerDependencies":{"@angular/compiler":"^15.2.2"},"engines":{"node":">= 14"},"type":"module","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"packageManager":"yarn@3.4.1","gitHead":"bf514d1f9a67d3a68dc8a5a0718f046590ddf3a3","bugs":{"url":"https://github.com/prettier/angular-estree-parser/issues"},"_id":"angular-estree-parser@6.1.0","_nodeVersion":"16.19.1","_npmVersion":"9.1.2","dist":{"integrity":"sha512-uhv3BQlHTWB7VlFw+3vPkdlMWE/8B1iwfp5bz8/0gPCuF3es0BCV2ssaG4th4AHlulYUW1VHe35FKxmP2mOS+w==","shasum":"e67b92d9a4e3e7c50fdbc77b91367c9dbe5b2615","tarball":"http://registry-npm.ywwl.com/angular-estree-parser/download/angular-estree-parser-6.1.0.tgz","fileCount":15,"unpackedSize":41475,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHh8KMdwM59ynmp4ALTuD46QVAmEKWAmrwG029k+FhtyAiBKS9IHJSZFo5aBpjf8GwscW8vzB7ygn/U01uCvKwf88g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEGBaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPyxAAnQdBXqy9fiu8rRlkdBdHhZgfMtc5sMkvrFzOhzjhhwD6avBj\r\nswt5LhdsTp7wHL+IMY42WWJk7bhdePFQ9M2rdITu51Xu0YWHjuULhCRWqED8\r\naFtzJUaQceKk369XlLJa5rfLAa8GEyYSoL2A/2r3zoeIioY8fL5S6j2AOqxT\r\nw4t9805DyK42nRmpn48Mx1Hef1yJ6qQdoSlp6SyJD0E4V8IC6PzB28oq/zy5\r\ntq6VjFYTghQYL0rl2TUXrKVUFoUjx4XB1sO5oQNXDfb9nR0RXSuQiD4J8fNx\r\nc8B/l07HWayHgrHKHh8a5Yr5P1gHsytmwEuyluHnWFw/DrJTy4R5VtXbNnRS\r\nYqY0rHMDkIq0b30zkHiVAbY/fZ3ylk5gCoQ8xlXO5E/e5kxjHcw6l8JWdc3/\r\naSYQLqp2/O1al39nYZItpZ7f0hrO8RUnQy6B+z94ueRb27ePwgiaHDS7quxp\r\nwtcDzOxwt/09HC5uEXmsTyyRf1kGQEyoG3Pu0zEdL5Z16iN5TP1xEEDp059E\r\nSVy3OH0bfTl80rzvr3Wcy+du2RwepcqtT2HkPe+dSCx2k/2/v3LoEYC7TAkd\r\nwkb9qUt6Usaukx+CFs2SRbL3L7ZC2KU8nEfEF8Gbe5fPXu5artuXduFJJmSH\r\nm4Ko++JWLi6869KhOi/fFah4Mn0ee6VTImw=\r\n=sRvR\r\n-----END PGP SIGNATURE-----\r\n","size":9355,"noattachment":false,"key":"/angular-estree-parser/-/angular-estree-parser-6.1.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_6.1.0_1678794841891_0.021488615197990724"},"_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":1678794842054,"_cnpm_publish_time":1678794842054,"dist-tags":{"latest":"15.5.0"}}