{"library":"unist-util-position-from-estree","type":"library","category":null,"description":"unist-util-position-from-estree is a specialized utility that converts an ESTree (ECMAScript Abstract Syntax Tree) node into a unist (Universal Syntax Tree) position object. This package is crucial for projects that need to bridge the gap between JavaScript parsing tools (like Acorn) which produce ESTree, and the broader unist ecosystem used by tools like remark, rehype, and retext. The current stable version is 2.0.0. As part of the unified collective, it follows a release cadence tied to breaking changes in its dependencies or Node.js compatibility. Its key differentiator is providing a standardized way to represent code locations from ESTree within the unist data model, enabling interoperability with other unist utilities and plugins. It is ESM-only and requires Node.js 16+.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","unist","unist-util","util","utility","recma","esast","estree","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install unist-util-position-from-estree","imports":["import { positionFromEstree } from 'unist-util-position-from-estree'","import type { Position } from 'unist';\nimport { positionFromEstree } from 'unist-util-position-from-estree'"]},{"cmd":"yarn add unist-util-position-from-estree","imports":[]},{"cmd":"pnpm add unist-util-position-from-estree","imports":[]}],"homepage":null,"github":"https://github.com/syntax-tree/unist-util-position-from-estree","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/unist-util-position-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/unist-util-position-from-estree/compatibility"}}