{"library":"vfile-message","type":"library","category":null,"description":"vfile-message is a JavaScript utility for creating standardized lint messages within the `vfile` ecosystem. It provides a `VFileMessage` class, extending `Error`, that can be used to represent warnings or errors, particularly when a full `VFile` instance is not available or desired. Currently at version 4.0.3, the package maintains an active release cadence with frequent updates focusing on type improvements and minor fixes. Its core differentiator is the ability to generate structured messages with fields like `reason`, `line`, `column`, `ruleId`, and `source`, making them consumable by linters and other processing tools that operate on virtual files. It integrates well with the Unified (unist) ecosystem, offering TypeScript definitions for robust development.","language":"javascript","status":"active","version":"4.0.3","tags":["javascript","file","message","utility","util","vfile-util","vfile","virtual","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vfile-message","imports":["import { VFileMessage } from 'vfile-message'","import type { Options } from 'vfile-message'"]},{"cmd":"yarn add vfile-message","imports":[]},{"cmd":"pnpm add vfile-message","imports":[]}],"homepage":null,"github":"https://github.com/vfile/vfile-message","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vfile-message","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-message/compatibility"}}