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

flexlib-boards

v1.0.1

Published

flexlib-boards est une application de gestion de whiteboard

Readme

flexlib-boards

flexlib-boards est une application de gestion de whiteboard

Il est pensé pour être autonome dans un contexte edulib.

Installation

$ npm install @immanens-com/flexlib-boards

Nécessite un token d'accès npm Immanens

Utilisation

TODO

Initialisation js "vanilla"

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<body>
    <flexlib-search></flexlib-search>
    <script src="./libs/flexlib-search/flexlib-search.js"></script>
    <script>
        new Flexlibsearch({
            el: "flexlib-search"
        });
    </script>
</body>

</html>

Initialisation commonjs (pour webpack)

const Flexlibsearch = require('@immanens-com/flexlib-search');
// ou
import Flexlibsearch from '@immanens-com/flexlib-search';
...
const widget=new Flexlibsearch({
    el: "flexlib-search"
})
...

Options d'initialisation

Options

  • el : sélecteur de l'élément (ou élément html directement) dans lequel doit se construire le widget.
  • showMemory : affichage du compteur de mémoire, chrome doit être lancé avec le flag --enable-precise-memory-info. Fermez toutes les autres instances de chrome avant.
$ "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --enable-precise-memory-info
  • lang : langue de l'interface, fr par défaut

Fonctions

  • resize() : fonction à appeler quand quelque chose change dans l'UI du container qui modifie la place occupée par le lecteur. Sur un redimensionnement de fenêtre ce n'est pas la peine d'appeler cette méthode.
  • close() : fonction à appeler avant de détruire le widget pour libérer toutes les ressources utilisées (listeners, etc).

Développement

Installation

  • npm install
  • lancer le script start-dev.cmd qui lancera
    • webpack sur l'app
      • Surveille le répertoire de source
      • Construit le bundle
      • Par défaut c'est la version de développement, avec tous les commentaires et sans minification qui est fabriquée (plus rapide)
    • un mini serveur sur le répertoire dist pour simuler les api
    • une page web dans le browser

Quelques règles de codage

  • indenter avec 4 espaces, pas de caractère tab
  • nom de variables en anglais qui a un sens
  • nom de variables locales avec des underscores
    • var my_variable;
  • nom de propriétés en camel case
    • this.myProperty
  • commentaires au format jsdoc en français ou en anglais

Version production distribuable

  • commit dans la branche master de git (ou develop selon le besoin)
  • lancer le script publish-git qui fera
    • augmentation de la version (patch / minor / major)
    • pose d'un tag git (latest / beta)
    • envoi vers npmjs.com dans le tag précisé (latest ou beta)

Messages de log

Pour afficher les messages de debug dans la console il faut :

  • ajoutez une clé "debug" avec la valeur "*" dans le localstorage
  • rafraichir la page web
  • Et voilà !