Registry / web-framework / prettier-plugin-ripple

prettier-plugin-ripple

JSON →
library0.2.152jsnpmunverified

A Prettier plugin for formatting Ripple (.ripple) files, version 0.2.152. It integrates with Prettier to provide consistent formatting for Ripple source files. The plugin requires Prettier >= 2.0.0 and the ripple package as peer dependencies. It is part of the Ripple ecosystem, a reactive UI library. Release frequency appears to be patch updates tied to ripple releases. Key differentiators: dedicated Prettier plugin for Ripple files, ensuring code style consistency across projects.

npm install prettier-plugin-ripple
INSTALL
IMPORT
SIG · PRETTIER-PLUGIN-RI
P
prettier-plugin-ripple
web-frameworkjavascriptv0.2.152
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

plugin (default)
module.exports = { plugins: ['prettier-plugin-ripple'] }
const ripple = require('prettier-plugin-ripple')
The plugin is used by adding it to Prettier's plugins array in config, not imported directly.

Install the plugin, configure Prettier to use it, and format a Ripple file.

// Install dependencies npm install --save-dev prettier prettier-plugin-ripple // Create .prettierrc.json { "plugins": ["prettier-plugin-ripple"], "semi": true, "singleQuote": true, "tabWidth": 2 } // Format a .ripple file npx prettier --write input.ripple
Debug
Known issues
gotchaThe plugin only works with Prettier version 2.x or higher. Older versions are not supported.
fix
Update Prettier to version 2.0.0 or later.
affects: <2.0.0
gotchaThe plugin requires the `ripple` package to be installed as a peer dependency. Skipping it will cause parsing errors.
fix
Install the `ripple` package alongside prettier-plugin-ripple.
affects: >=0
gotchaThe plugin is not compatible with Prettier 3.x's new module system if used in ESM projects without proper configuration.
fix
Ensure your Prettier config is in CommonJS format or use dynamic import accordingly.
affects: >=3.0.0
Errors
Common errors & fixes
The 'prettier-plugin-ripple' plugin failed to load: Cannot find module 'ripple'
Missing peer dependency: `ripple` is not installed.
fix
Run `npm install ripple` to install the missing peer dependency.
Error: Invalid plugin in config: "prettier-plugin-ripple" is not a valid plugin name.
Plugin name typo or not installed; or Prettier version too old.
fix
Ensure the plugin is installed: `npm install --save-dev prettier-plugin-ripple`. Also check Prettier version is >=2.0.0.
TypeError: Cannot read properties of undefined (reading 'options')
The ripple file contains syntax errors or unsupported Ripple version.
fix
Check the Ripple file for syntax errors and ensure the `ripple` package version matches the plugin's expected version.
Upgrade
Version history
0.2.152latest on npm
Audit
Dependencies
prettierrequiredrequired as peer dependency for plugin functionality
ripplerequiredrequired as peer dependency for parsing ripple files
Agent activity
4 hits · last 30 days
node
4
Resources
prettier-plugin-ripple — npm install prettier-plugin-ripple · libregistry