{"library":"hast-util-from-parse5","type":"library","category":null,"description":"hast-util-from-parse5 is a specialized utility within the unified.js ecosystem designed to transform an AST (Abstract Syntax Tree) generated by the `parse5` HTML parser into a HAST (Hypertext Abstract Syntax Tree). This package is crucial for developers who parse HTML using `parse5` and then wish to process the resulting tree using the vast array of HAST-compatible tools and plugins. The current stable version is 8.0.3, with releases typically focusing on dependency updates, minor bug fixes, and periodic major versions to align with Node.js LTS releases and significant internal changes (e.g., ESM migration in v7, Node.js 16 requirement in v8). Its key differentiator is its role as a bridge between the widely used `parse5` parser and the expressive `hast` AST format, enabling seamless integration into unified processor workflows for tasks like linting, transforming, or compiling HTML content.","language":"javascript","status":"active","version":"8.0.3","tags":["javascript","ast","change","hast-util","hast","transform","unist","utility","util","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install hast-util-from-parse5","imports":["import { fromParse5 } from 'hast-util-from-parse5'","import { fromParse5 } from 'hast-util-from-parse5'","import type { Options } from 'hast-util-from-parse5'"]},{"cmd":"yarn add hast-util-from-parse5","imports":[]},{"cmd":"pnpm add hast-util-from-parse5","imports":[]}],"homepage":null,"github":"https://github.com/syntax-tree/hast-util-from-parse5","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hast-util-from-parse5","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/hast-util-from-parse5/compatibility"}}