{"library":"unist-util-find","type":"library","category":null,"description":"unist-util-find is a focused utility within the Unist ecosystem (supporting mdast, hast, nlcst, etc.) designed to efficiently locate the first node in a Unist tree that satisfies a given condition. The current stable version is 3.0.0. Maintained by the unified collective, it typically follows Node.js LTS release cycles for major version updates. Its key differentiator lies in its simplicity for finding a single matching node, offering a lightweight alternative to more comprehensive tree-walking utilities like `unist-util-visit` when only the first match is needed. Conditions can be specified as a string, an object, or a predicate function, providing flexible search capabilities.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","find","hast","mdast","nlcst","node","rehype","remark","retext","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install unist-util-find","imports":["import { find } from 'unist-util-find'","import type { TestFn } from 'unist-util-find'","import type { TestObj } from 'unist-util-find'"]},{"cmd":"yarn add unist-util-find","imports":[]},{"cmd":"pnpm add unist-util-find","imports":[]}],"homepage":"https://unifiedjs.com","github":"https://github.com/syntax-tree/unist-util-find","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/unist-util-find","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-find/compatibility"}}