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

lighthouse-plugin-ecoindex-core

v7.3.4

Published

Lighthouse plugin that include Ecoindex results.

Readme

Summary of results Summary of results

Lighthouse Plugin Ecoindex Core en TS

Description

Plugin pour Lighthouse qui calcule l'Ecoindex des pages web.

Il peut être utilisé directement avec lighthouse-ci en tant que plugin.

Details of plugin results Details of plugin results

Full documentation and examples

changelog

Voir le changelog

Installation

npm install lighthouse-plugin-ecoindex-core

Usage

Voir le projet @ecoindex-lh-test/plugin-core (test-ecoindex-lh-plugin-ts)

Audits RWEB — Référentiel GreenIT 5.0

Le plugin inclut 28 audits basés sur le référentiel RWEB 5.0 :

| ID audit | RWEB | Description | | -------------------------- | --------- | ------------------------------------------------------------ | | rweb-no-animations | RWEB_0009 | Éviter les animations CSS/JS | | rweb-no-carousel | RWEB_0010 | Limiter le recours aux carrousels | | rweb-title-meta | RWEB_0011 | Titre de page et meta description pertinents | | rweb-print-css | RWEB_0031 | Fournir une feuille de style pour l'impression | | rweb-limit-fonts | RWEB_0032 | Préférer les polices standard | | rweb-no-embedded-docs | RWEB_0033 | Ne pas afficher de documents dans les pages | | rweb-limit-css-files | RWEB_0035 | Limiter les fichiers de feuilles de style (≤ 10) | | rweb-css-splitting | RWEB_0036 | Découper les CSS | | rweb-prefer-css | RWEB_0037 | Préférer les CSS aux images | | rweb-no-bitmap-ui | RWEB_0038 | Éviter les images matricielles pour l'interface | | rweb-no-inline-assets | RWEB_0042 | Externaliser les CSS et JavaScript | | rweb-lazy-loading | RWEB_0051 | Utiliser le chargement paresseux | | rweb-no-canvas | RWEB_0055 | Limiter le recours aux canvas | | rweb-no-social-sdk | RWEB_0059 | Remplacer les boutons officiels de partage social | | rweb-service-worker | RWEB_0060 | Économiser de la bande passante via un Service Worker | | rweb-cache-control | RWEB_0075 | Ajouter des en-têtes cache-control | | rweb-http-compression | RWEB_0076 | Compresser les ressources (≥ 95 %) | | rweb-minification | RWEB_0077 | Minification des CSS et JS | | rweb-combine-assets | RWEB_0078 | Combiner les fichiers CSS et JavaScript | | rweb-no-cookie-on-static | RWEB_0081 | Héberger les ressources statiques sur un domaine sans cookie | | rweb-limit-domains | RWEB_0082 | Limiter le nombre de domaines servant les ressources | | rweb-uses-http2 | RWEB_0083 | Utiliser HTTP/2 au lieu de HTTP/1 | | rweb-hsts | RWEB_0084 | Favoriser HSTS preload aux redirections 301 | | rweb-no-gif | RWEB_0099 | Limiter l'utilisation des GIFs animés | | rweb-optimize-svg | RWEB_0100 | Optimiser les images SVG (< 2 Ko) | | rweb-no-autoplay | RWEB_0106 | Éviter la lecture automatique des vidéos et sons | | rweb-limit-analytics | RWEB_0111 | Limiter les outils d'analytics et les données collectées | | rweb-no-redirects | RWEB_0112 | Éviter les redirections |

Audits BP — Bonnes pratiques sans référentiel associé

Le plugin inclut 11 audits de bonnes pratiques sans correspondance dans le référentiel RWEB :

| ID audit | Description | | -------------------------- | ---------------------------------------------------------------------------------- | | unoptimized-images | Détecter les images non optimisées (via feature policy) | | badly-sized-images | Ne pas redimensionner les images dans le navigateur | | bp-cookie-size | Limiter la taille des cookies (≤ 512 octets) | | bp-no-http-errors | Éviter les erreurs de requête HTTP (4xx/5xx) | | bp-no-document-write | Éviter les appels à l'API d'écriture DOM bloquante dans les scripts inline | | bp-no-hidden-images | Ne pas télécharger d'images inutiles (cachées ou de taille nulle) | | bp-no-js-errors | Détecter les erreurs JavaScript à l'exécution dans la console | | bp-no-plugins | Ne pas utiliser de plugins obsolètes (Flash, Silverlight, Java) | | bp-no-unused-code | Éviter les scripts externes bloquant le rendu (sans attribut async ni defer) | | bp-thegreenwebfoundation | Vérifier si le domaine est alimenté en énergie verte (The Green Web Foundation) | | bp-css-containment | Compter les fichiers CSS chargés — vérification manuelle de la propriété contain |

Mettre à jour les URLs de référence RWEB

Les URLs des fiches RWEB sont stockées dans src/audits/bp/refs-urls.ts. Pour les régénérer depuis l'API rweb.greenit.fr :

# Version latest
pnpm refs:update

# Version spécifique du référentiel
pnpm refs:update:version -- 2.0.0