A CodeMirror 6 language mode that provides syntax highlighting and code editing support for the Rome formatter intermediate representation (IR). This package is at an early, unstable version (0.0.2) with slow or inactive release cadence. Unlike general-purpose CodeMirror modes, this one is purpose-built for the Rome IR format used in the Rome formatter's internal representation. It ships TypeScript definitions and is intended for integration with CodeMirror 6 projects that need to inspect or debug Rome's formatter IR.
npm install lang-rome-formatter-irNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a CodeMirror 6 editor with the Rome formatter IR language mode for syntax highlighting.
Pin to exact version or expect updates.
Use dynamic import() or set type: module in package.json.
Consider migrating to Biome-compatible alternatives if available.
Use import instead of require, or set package.json type: module.
Ensure you're using the named export correctly: import { romeIR } from 'lang-rome-formatter-ir' and then use romeIR() if it's a function.