{"library":"vfile-is","type":"library","category":null,"description":"vfile-is is a utility package within the unified/vfile ecosystem, designed to facilitate checking properties of `vfile` objects. It allows developers to assert whether a virtual file matches specific criteria, supporting a range of tests including glob patterns against `file.path`, direct string matches against `file.basename` or `file.extname`, custom predicate functions, or object-based comparisons against various `vfile` fields like `stem`, `extname`, or `basename`. The current stable version is 3.0.0, which mandates Node.js 16 or newer and is ESM-only. The package maintains a steady release cadence, often aligning with updates to the core `vfile` library. Its key differentiators include its integration with the `vfile` standard, offering a streamlined API (`is` and `convert`) for robust and composable file testing, which helps in building unified-based tools by providing a consistent way to filter or categorize files.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","vfile","vfile-util","util","utility","virtual","file","text","processing","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vfile-is","imports":["import { is } from 'vfile-is'","import { convert } from 'vfile-is'","import { VFile } from 'to-vfile'"]},{"cmd":"yarn add vfile-is","imports":[]},{"cmd":"pnpm add vfile-is","imports":[]}],"homepage":null,"github":"https://github.com/vfile/vfile-is","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vfile-is","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/vfile-is/compatibility"}}