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

ontowave

v1.0.76

Published

Lightweight JavaScript library for creating interactive documentation from Markdown with multilingual support, Prism syntax highlighting, Mermaid diagrams, and PlantUML rendering

Readme

OntoWave

npm version License: CC-BY-NC-SA-4.0

Noyau de navigation (~100KB, zéro dépendance) pour sites statiques et applications web.

OntoWave transforme des fichiers Markdown en documentation interactive dans le navigateur. Routing SPA basé sur le hash URL, multilingue natif, extensions chargées à la demande (Mermaid, KaTeX, PlantUML, SVG inline).

Installation

npm install ontowave

Ou via CDN (recommandé pour les sites statiques) :

<script src="https://unpkg.com/ontowave/dist/ontowave.min.js"></script>

Utilisation

La page HTML est quasi-vide. OntoWave crée tout le DOM.

<!DOCTYPE html>
<html lang="fr">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Mon site</title>
</head>
<body>
  <script src="https://unpkg.com/ontowave/dist/ontowave.min.js"></script>
</body>
</html>

Configuration optionnelle (avant le <script>) :

<script>
  window.ontoWaveConfig = {
    roots: [
      { base: 'fr', root: 'content/fr/' },
      { base: 'en', root: 'content/en/' }
    ],
    i18n: { default: 'fr', supported: ['fr', 'en'] }
  };
</script>
<script src="https://unpkg.com/ontowave/dist/ontowave.min.js"></script>

Fonctionnalités

  • Routing SPA basé sur le hash URL (#/chemin/vers/page)
  • Multilingue natif (*.fr.md, *.en.md)
  • Rendu Markdown complet avec tableaux alignés
  • KaTeX pour les formules mathématiques
  • Mermaid pour les diagrammes
  • PlantUML via Kroki
  • SVG inline
  • Menu de navigation flottant

Architecture

Le noyau (dist/ontowave.js, ≤ 200KB) est sans dépendances. Les moteurs lourds sont des extensions chargées à la demande selon le contenu de la page :

dist/ontowave.js        ← noyau (zéro dépendance)
dist/extensions/
  ├── markdown.js       ← chargé par défaut
  ├── mermaid.js        ← chargé si bloc ```mermaid détecté
  ├── katex.js
  └── ...

Note : l'architecture modulaire est en cours de développement (v2.0). La version actuelle distribue un bundle unique.

Développement

npm install
npm test              # tests unitaires (Vitest)
npm run test:e2e      # tests E2E (Playwright, nécessite npm run dev:docs)
npm run check         # lint + type-check + tests + build
npm run build:package # build la librairie

Structure du projet :

src/
  core/       # logique pure sans dépendances navigateur
  adapters/   # implémentations navigateur
  main.ts     # bootstrapDom(), point d'entrée
  router.ts   # routing hash-based
docs/         # site public (ontowave.org) + galerie de démos
tests/        # vitest (unit) + playwright (E2E)

Contribuer

Les contributions passent par des issues GitHub. Voir .github/copilot-instructions.md pour les conventions de travail et le workflow.

Spécifications :

Licence

CC-BY-NC-SA-4.0 — Copyright (c) 2025 Stéphane Denis

Voir LICENSE pour les détails.