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

@max-63/notify

v1.0.7

Published

Un **petit paquet JavaScript / TypeScript** pour afficher des **notifications toast** en bas à droite de l’écran. Fonctionne aussi bien en JS qu'en TS, simple à utiliser et visuellement propre. 🔥

Readme

📦 notify

Un petit paquet JavaScript / TypeScript pour afficher des notifications toast en bas à droite de l’écran.
Fonctionne aussi bien en JS qu'en TS, simple à utiliser et visuellement propre. 🔥


✨ Aperçu

Capture_d_écran_2025-06-20_164632-removebg-preview Capture_d_écran_2025-06-20_163859-removebg-preview Capture_d_écran_2025-06-20_164225-removebg-preview Capture_d_écran_2025-06-20_164417-removebg-preview Capture_d_écran_2025-06-20_164448-removebg-preview Capture_d_écran_2025-06-20_164525-removebg-preview Capture_d_écran_2025-06-20_164550-removebg-preview Capture_d_écran_2025-06-20_164609-removebg-preview


🛠️ Installation

npm install @max-63/notify

Exemple

Voicci un exemple d'utilisation :

<!DOCTYPE html>
<html lang="fr">
<head>
  <meta charset="UTF-8" />
  <title>Test Toast Notification</title>
</head>
<body>
  <button id="notifyBtn">🛎️ Notifier</button>
  <button>autre</button>
  <script type="module">
    import { notify } from '../dist/index.js'; // ou le bon chemin


    document.getElementById('notifyBtn').addEventListener('click', () => {
      notify({
        title: "Notification Adrien !",
        message: "Ceci est une alerte personnalisée.",
        duration: 5000,
        type: "error",
        icone: true,
        style: "fonce"
      });
    })
  </script>
</body>
</html>

🔧 Options disponibles

| Clé | Type | Description | |-----------|-------------------------------------|-----------------------------------------------------| | title | string | Titre (obligatoire) | | message | string | Message principal (facultatif) | | duration| number | Durée en ms (ex : 5000 pour 5 secondes) | | type | "success" | "error" | "warning" | "info" | Type de toast (couleur / icône) | | icon | boolean | Affiche une icône correspondante | | style | "clair" | "fonce" | Thème clair ou foncé |


📦 Structure du package

  • dist/ : fichiers compilés (.js, .d.ts, images)
  • Compatible JavaScript et TypeScript
  • Léger, sans dépendance externe

🤝 Contribution

Envie d’ajouter une fonctionnalité, corriger un bug, ou améliorer le style ?
N’hésite pas à forker, coder ta feature, puis proposer une Pull Request. 💪


🐣 Auteur

Créé avec 💻 et ☕ par Max‑63 (Adrien).


📄 Licence

Ce projet est publié sous licence MIT – libre d'utilisation et de modification.