{"library":"angular-html-parser","type":"library","category":null,"description":"angular-html-parser is a JavaScript HTML parser directly extracted from the Angular framework's internal parsing engine, maintained by the Prettier organization. Currently at version 10.5.0, it receives frequent updates, typically syncing with changes made to the HTML parser within the main Angular repository. Its primary purpose is to provide a robust, Angular-compatible HTML parsing mechanism, often leveraged by tools like Prettier for formatting Angular templates. Key differentiators include added support for CDATA and DocType nodes, enhanced source span tracking for elements and attributes, and modifications to handle specific HTML syntax like bogus comments, going beyond a strict 1:1 replica of Angular's upstream parser. It supports Node.js environments version 14 and above.","language":"javascript","status":"active","version":"10.5.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install angular-html-parser","imports":["import { parse } from 'angular-html-parser';","import type { Options } from 'angular-html-parser';","import type { ParseTreeResult } from '@angular/compiler';"]},{"cmd":"yarn add angular-html-parser","imports":[]},{"cmd":"pnpm add angular-html-parser","imports":[]}],"homepage":null,"github":"https://github.com/prettier/angular-html-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/angular-html-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/angular-html-parser/compatibility"}}