Registry / testing / hydro-silent

hydro-silent

JSON →
library1.0.1jsnpmunverified

A silence formatter plugin for the hydro test framework (v1.0.1). Suppresses test output, useful for generating coverage reports or running tests in CI where verbose logs are unwanted. Part of the hydro ecosystem, it is automatically bundled with hydro and does not require separate installation. Last updated in 2013, no longer actively maintained, but still functional for projects using hydro 0.x.

npm install hydro-silent
INSTALL
IMPORT
SIG · HYDRO-SILENT
H
hydro-silent
testingjavascriptv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

hydro-silent
hydro --formatter hydro-silent
const silent = require('hydro-silent')
This is a CLI plugin, not a module. Use the --formatter flag with hydro.
hydro-silent
hydro.set('formatter', 'hydro-silent')
hydro.use(require('hydro-silent'))
Alternate usage via hydro API; directly requiring the package will not work.
hydro-silent
N/A - not a module
import { hydro-silent } from 'hydro-silent'
hydro-silent is not an importable symbol; it's a CLI plugin.

Shows how to use hydro-silent as a CLI formatter for the hydro test framework.

# Install hydro (includes hydro-silent bundled) npm install hydro # Run hydro with the silent formatter hydro --formatter hydro-silent
Debug
Known issues
gotchahydro-silent is bundled with hydro and should not be installed separately. Manual installation may cause conflicts.
fix
Remove hydro-silent from package.json if installed separately; rely on hydro's bundled version.
affects: *
deprecatedhydro-silent is no longer maintained and may not work with future versions of hydro.
fix
Consider migrating to a more modern test framework like Jest or Mocha for active development.
affects: >=1.0.0
gotchahydro-silent only works with Hydro 0.x. It is not compatible with Hydro 1.x or later.
fix
Ensure you are using Hydro 0.x (e.g., hydro@0.9.0). Check your hydro version with 'npm list hydro'.
affects: *
breakinghydro-silent does not export anything; attempting to require or import it will throw an error.
fix
Only use hydro-silent via the CLI or hydro API, not as a direct module dependency.
affects: *
Errors
Common errors & fixes
Error: Cannot find module 'hydro-silent'
hydro-silent is not installed (but it's bundled with hydro), so npm cannot find it if hydro is not installed.
fix
Install hydro: npm install hydro --save-dev
TypeError: hydro.use is not a function
Trying to use hydro-silent as a plugin via hydro.use(), but it's meant to be set as a formatter.
fix
Use hydro.set('formatter', 'hydro-silent') instead of hydro.use().
Error: hydro-silent is not a valid formatter
The hydro version is 1.x or newer, which does not support hydro-silent.
fix
Use an older version of hydro (0.x) or use a different formatter compatible with hydro 1.x.
Upgrade
Version history
1.0.1latest on npm
Audit
Dependencies
hydrorequiredPeer dependency; hydro-silent is a formatter for the hydro test framework
Agent activity
8 hits · last 30 days
node
8
Resources
hydro-silent — npm install hydro-silent · libregistry