{"library":"esast-util-from-estree","type":"library","category":null,"description":"esast-util-from-estree is a utility within the unified collective's ecosystem, specifically designed to convert an ESTree-compliant Abstract Syntax Tree (AST) into an esast, which is a unist-compliant AST for ECMAScript. Currently stable at version 2.0.0, this package plays a crucial role in enabling unist utilities to process JavaScript ASTs. It ensures that the transformed nodes are plain JSON objects, incorporates unist positional information, normalizes specific fields like `.bigint`, and prunes discouraged or redundant fields such as `attributes` and `selfClosing` from JSXOpeningFragment nodes to ensure strict unist compatibility. The package maintains the common release cadence of the unified collective, with major versions like v2.0.0 introducing breaking changes such as the shift to ESM-only distribution and requiring Node.js 16 or newer. Its primary differentiator is providing a robust, standard-compliant bridge between the ESTree format, typically generated by parsers like Acorn, and the unist specification.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","esast","esast-util","util","utility","recma","estree","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install esast-util-from-estree","imports":["import { fromEstree } from 'esast-util-from-estree'","import {fromEstree} from 'https://esm.sh/esast-util-from-estree@2'","import type { Options } from 'esast-util-from-estree'"]},{"cmd":"yarn add esast-util-from-estree","imports":[]},{"cmd":"pnpm add esast-util-from-estree","imports":[]}],"homepage":null,"github":"https://github.com/syntax-tree/esast-util-from-estree","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esast-util-from-estree","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/esast-util-from-estree/compatibility"}}