esast-util-from-estree provides an `fromEstree` transform that converts an ESTree JavaScript AST into an esast (a UNIST-compatible AST). It normalizes node shapes for JSON, adds position information, and applies a few cleanup steps like normalizing `.bigint` and removing certain discouraged JSX fields, which is useful if you want to use unist utilities with JavaScript ASTs.
Project status
- Maintenance status: Appears largely dormant/maintenance mode, with the most recent upstream push and last recorded update on 2023-07-31. As of 2026-06-09, this is a multi-year gap with no evidence of recent work.
- Update cadence: Updates are infrequent, with several releases in 2021 to 2023, then silence after 2.0.0 (2023-07-31). No more recent updates are evidenced.
AI summary generated
Recent updates
2.0.0
Release 2.0.0 makes a major update to esast-util-from-estree, requiring Node.js 16 and changing how the library transforms ESTree into ESAST. The release notes highlight that the input is no longer mutated and developers must use the return value. The code diff also shows additional behavioral and typing changes not fully covered by the notes.
Breaking1.3.1
Release 1.3.1 refactors the package by moving the `fromEstree` implementation into `lib/index.js` and changing the top-level `index.js` to a re-export. It also updates tooling (build/test scripts, CI actions), modifies TS configuration, and adjusts documentation including Node.js support statements.
Breaking1.3.0
Release 1.3.0 primarily updates dependency versions in package.json. The only functional change implied by the diff is a bump of the TypeScript typings dependency (@types/estree-jsx), plus a minor tooling bump for xo.
1.2.0
Release 1.2.0 primarily changes how JSXOpeningFragment nodes are normalized, specifically removing `attributes` and `selfClosing` from the resulting esast output. It also updates documentation and tooling, with no other obvious runtime API changes shown in the diff.
Breaking1.1.1
Release 1.1.1 is primarily a TypeScript-related change intended to expose package types to consumers. The code diff also includes internal refactoring of `fromEstree`, plus several build, workflow, and dependency/tooling updates that are not mentioned in the release notes.
1.1.0
Release 1.1.0 primarily adds JSDoc-based type annotations to the code (notably around `fromEstree` and its internal visitor callback). The runtime logic appears unchanged, but the repository/package metadata and build tooling were significantly updated alongside this change.
Features1.0.0
Release 1.0.0 was published on 2021-02-18. The provided release notes contain no actionable information (only a placeholder), so there are no documented changes to assess for developer impact.