npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@healify/cypress-plugin

v2.4.0

Published

Healify reporter for Cypress: reports broken selectors without requiring GitHub repo access.

Readme

@healify/cypress-plugin

Reporter local para Cypress. Cuando un test falla por un selector roto, corre una heurística en el mismo proceso (sin red) y al final de la corrida genera healify-report.html/healify-report.json con la sugerencia de fix.

Setup

npm install --save-dev @healify/cypress-plugin

Requiere cypress >= 13.0.0 como peer dependency.

Uso (modo local, default, sin configuración)

En cypress.config.ts:

import { defineConfig } from 'cypress'
import { HealifyCypressPlugin } from '@healify/cypress-plugin'

export default defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      return HealifyCypressPlugin(on, config)
    },
  },
})

Corré tus tests normalmente (npx cypress run). Sin nada más que configurar: si algún test falla por un selector roto, al terminar la corrida aparece healify-report.html en el directorio desde el que corriste Cypress. Nada sale de tu máquina.

Además, al final de la corrida se imprime un resumen de una línea en stdout, útil en CI, sin tener que abrir el HTML:

Healed: 3 | Review: 1 | Unresolved: 0

Cómo funciona (modo reporte, siempre activo)

Tras cada spec (after:spec) se corre la heurística (analyzeAndHeal() de @healify/reporter-core) para cada test fallido, sin red; al terminar la corrida (after:run) se escribe healify-report.html/.json con todos los casos acumulados. Heurística de pattern-matching sobre el texto del selector y del error — a ciegas, salvo que uses cy.healifyGet (ver abajo) o que el repertorio ya tenga una curación verificada para ese selector.

cy.healifyGet: curado en vivo contra el DOM real (opcional)

Playwright/Selenium/WebdriverIO curan contra el árbol real de la página en el momento del fallo, no solo contra el texto del selector — Cypress puede hacer lo mismo, pero necesita un comando explícito en vez de un reporter pasivo, porque Cypress no expone un gancho para envolver cy.get() sin pisar su propio motor de retry-ability.

En tu support file (cypress/support/e2e.ts):

import '@healify/cypress-plugin/support'

Y en el test, en vez de cy.get(selector):

cy.healifyGet('#comprar-ahora-a1b2c3').click()

Si el selector aparece dentro del timeout (igual que cy.get()), no pasa nada distinto. Si no aparece, sondea el DOM real de la página (mismo criterio de nombre accesible que el resto de Healify: aria-label → texto visible → placeholder → value), pide una curación verificada contra ESE DOM y reintenta con la sugerencia — recién ahí falla el test si tampoco encuentra nada. El resultado queda en healify-report.json con verified: true, aunque el test haya terminado en verde (Cypress no lo reporta como fallido: lo curaste antes de que llegara a fallar).

Opciones: cy.healifyGet(selector, { timeout, confidenceThreshold }) — mismos defaults que cy.get() y que selenium-plugin/webdriverio-plugin (confidenceThreshold: 0.9).

Alcance deliberado: envuelve un solo comando (healifyGet, no cada método de Cypress) — mismo criterio acotado que selenium-plugin (envuelve findElement, no cada interacción). Y sigue sin poder envolver cy.get() en sí: es opt-in, un reemplazo puntual donde ya sabés que un selector es frágil.

Siguiente paso

Cuando tengas healify-report.json, npx @healify/cli fix aplica automáticamente las sugerencias de mayor confianza directo en tus archivos de test (conservador: nunca toca selectores ambiguos ni archivos con cambios sin commitear). Ver @healify/cli.