{"library":"xast-util-from-xml","type":"library","category":null,"description":"xast-util-from-xml is a utility within the unified ecosystem designed to parse serialized XML strings or `Uint8Array` into a `xast` (XML Abstract Syntax Tree) compliant syntax tree. Currently at version 4.0.0, the package maintains an active development status with major releases tied to significant internal changes and Node.js version updates. It leverages the `@rgrove/parse-xml` library for efficient and robust XML parsing, then transforms its output into the standardized `xast` format. This allows developers to programmatically interact with XML structures using a consistent AST representation, often for transformations or analysis. It is primarily differentiated by its integration into the broader `unified` and `xast` ecosystem, providing a predictable and well-typed interface for XML processing in JavaScript and TypeScript environments. The package is ESM-only and compatible with Node.js 16 and higher.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","unist","xast","xast-util","util","utility","xml","extensible","markup","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install xast-util-from-xml","imports":["import { fromXml } from 'xast-util-from-xml'","import { fromXml } from 'https://esm.sh/xast-util-from-xml@4'","import type { Root } from 'xast'"]},{"cmd":"yarn add xast-util-from-xml","imports":[]},{"cmd":"pnpm add xast-util-from-xml","imports":[]}],"homepage":null,"github":"https://github.com/syntax-tree/xast-util-from-xml","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/xast-util-from-xml","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/xast-util-from-xml/compatibility"}}