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

@data-fair/app-carousel

v1.0.1

Published

Application de diaporama déroulant pour DataFair

Readme

DataFair — Diaporama

Cette application permet de créer des diaporamas déroulants à partir d'un jeu de données DataFair.

An application for DataFair. It is hosted by npm and the jsdelivr CDN.

Concept

L'application exploite les concepts DataFair suivants pour détecter automatiquement les colonnes du jeu de données :

  • http://schema.org/image — colonne contenant l'URL de l'image (obligatoire)
  • http://www.w3.org/2000/01/rdf-schema#label — colonne du titre affiché sur l'overlay
  • https://schema.org/WebPage — colonne contenant l'URL du lien "En savoir plus"

Configuration

Le fichier public/config-schema.json (généré depuis src/config/schema.json) décrit la configuration acceptée par l'application. Il est généré via :

npm run build-types

Deux onglets :

  1. Source de données — choix du jeu de données + filtres prédéfinis (staticFilters in / interval / out)
  2. Présentation — intervalle de rotation, cible des liens, masquage titre/liens

Technical stack

  • Vue 3.5+ (Composition API, <script setup lang="ts">)
  • Vuetify 4 (vite-plugin-vuetify)
  • Vite 8
  • TypeScript strict
  • @data-fair/lib-vue, @data-fair/lib-vuetify, @data-fair/lib-utils
  • @vueuse/core (useWindowSize)
  • Dev server : df-dev-server + Zellij layout .zellij.kdl

Development Setup

Installer les dépendances :

npm install

Configurer l'instance DataFair visée via .dev-config.json (déjà présent à la racine) ou un fichier .env :

DATAFAIR_URL=https://koumoul.com/s/data-fair
DATAFAIR_OWNER_TYPE=organization or user
DATAFAIR_OWNER_ID=...
DATAFAIR_API_KEY= leave empty to use only public datasets

Lancer le dev server avec hot reload (Vite + df-dev-server dans un layout Zellij) :

npm run dev

Ou lancer chaque partie séparément :

npm run dev-server   # df-dev-server (reverse proxy DataFair)
npm run dev-app      # Vite (HMR)

Commandes

npm run dev          # zellij layout : vite + df-dev-server
npm run dev-app      # vite only
npm run dev-server   # df-dev-server only
npm run build        # build CDN (PUBLIC_URL=jsdelivr)
npm run build-preview
npm run build-types  # génère src/config/.type/ et public/config-schema.json
npm run type-check   # vue-tsc --noEmit
npm run lint         # eslint --fix

Deployment

Publier sur le registre npm global (membre de l'organisation owner) :

npm version patch|minor|major
npm publish
git push && git push --tags

Pour une version de test pré-publiée :

npm version prerelease --preid=staging
npm publish --tag staging