{"library":"unist-util-remove","type":"library","category":null,"description":"unist-util-remove is a utility package within the unified ecosystem designed to modify unist (Universal Syntax Tree) structures by removing nodes that pass a given test. Unlike `unist-util-filter`, this utility mutates the tree in-place, which can offer significant performance benefits on large documents. The current stable version is 4.0.0, which notably introduced a requirement for Node.js 16+, transitioned to being an ESM-only package, and altered the return type of the `remove` function from the modified tree to `undefined`. The package maintains compatibility with actively maintained Node.js versions and receives updates for bug fixes, performance improvements, and minor enhancements. Major version releases typically align with Node.js LTS updates or significant architectural shifts within the unified ecosystem, such as the move to ESM.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","unist","unist-util","util","utility","ast","tree","node","cascade","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install unist-util-remove","imports":["import { remove } from 'unist-util-remove'","import { remove } from 'unist-util-remove'","import type { Options } from 'unist-util-remove'"]},{"cmd":"yarn add unist-util-remove","imports":[]},{"cmd":"pnpm add unist-util-remove","imports":[]}],"homepage":null,"github":"https://github.com/syntax-tree/unist-util-remove","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/unist-util-remove","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-remove/compatibility"}}