{"library":"to-vfile","type":"library","category":null,"description":"to-vfile is a utility library for working with the file system using `vfile` instances, which represent virtual files in a processing pipeline. Unlike `vfile` itself, which primarily focuses on the file's content and metadata, `to-vfile` prioritizes interaction with the actual file system, providing asynchronous and synchronous methods to read from and write to disk. The current stable version is 8.0.0, requiring Node.js 16 or higher. The package sees active development, with major releases introducing breaking changes related to Node.js version support, module system (ESM-only since v7), and API structure. It is designed for scenarios where a file system is explicitly present and direct file operations are needed, complementing the `vfile` ecosystem by bridging virtual files with physical storage.","language":"javascript","status":"active","version":"8.0.0","tags":["javascript","vfile","vfile-util","util","utility","virtual","file","text","processing","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install to-vfile","imports":["import { toVFile } from 'to-vfile'","import { read } from 'to-vfile'","import { writeSync } from 'to-vfile'"]},{"cmd":"yarn add to-vfile","imports":[]},{"cmd":"pnpm add to-vfile","imports":[]}],"homepage":null,"github":"https://github.com/vfile/to-vfile","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/to-vfile","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/to-vfile/compatibility"}}