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

my-app-yazz

v0.1.3

Published

- React 19 - Create React App - JavaScript / JSX - Jest - React Testing Library - JSDoc - GitHub Actions - GitHub Pages

Readme

tp CI/CD

Stack technique

  • React 19
  • Create React App
  • JavaScript / JSX
  • Jest
  • React Testing Library
  • JSDoc
  • GitHub Actions
  • GitHub Pages

Pre-requis

  • Node.js 18+ recommande
  • npm

Installation

npm install

Lancement en local

npm start

L'application est alors accessible sur http://localhost:3000.

Lancement des tests

npm test

Lancement de la couverture de tests

npm run test:coverage

La configuration de couverture exclut :

  • src/index.js
  • src/reportWebVitals.js
  • src/setupTests.js
  • les fichiers *.test.js et *.test.jsx

Generation de la documentation JSDoc

npm run jsdoc

La documentation est generee dans public/docs.

Build de production

npm run build

Deploiement GitHub Pages

npm run deploy

CI/CD

Tests, build et documentation

Le workflow GitHub Actions se lance sur les evenements push et pull_request vers la branche master.

Le job build_test execute les commandes suivantes :

  • npm ci
  • npm run jsdoc
  • npm run build --if-present
  • npm test

Ce job gere egalement l'envoi de la couverture de tests vers Codecov.

Deploiement GitHub Pages

Une fois le job build_test termine avec succes, le dossier build est upload comme artifact GitHub Pages.

Le job deploy depend du succes de build_test et publie ensuite cet artifact sur GitHub Pages.

Publication npm

Le job publish_npm se lance uniquement lors d'un push.

Avant toute publication, le workflow lit le name et la version presents dans package.json, puis verifie avec npm view si cette combinaison existe deja sur npm.

Si cette version existe deja sur npm, la publication est ignoree.

Si la version est nouvelle, le workflow execute :

  • npm ci
  • npm run build-npm
  • npm publish --access public

Publier une nouvelle version

Pour publier une nouvelle version, il faut d'abord modifier la version dans package.json, soit manuellement, soit en local avec une commande comme :

  • npm version patch
  • npm version minor
  • npm version major

Apres le changement de version, il faut commit puis push.

Au moment du push, GitHub Actions verifiera si cette version existe deja sur npm et ne publiera le package que si elle n'existe pas encore.

Structure rapide du projet

src/
  App.js
  Composants/
    Count.jsx
    Form.jsx
  utils/
    module.js
public/
  docs/
.github/
  workflows/
    build_test_deploy_react.yml
jsdoc.config.json
package.json

git hub

URL de l'application deployee

URL de la documentation generee