to-vfile
JSON →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.
Traffic · last 30 days ↑171% vs prev 7d
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇨🇦 Canada · 🇫🇮 Finland