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

@fzed51/green-terminal

v1.1.1

Published

GreenTerminal UI est une collection de composants React stylisés avec un thème sombre et vert néon, idéale pour les interfaces techniques, les dashboards futuristes ou les projets nécessitant une ambiance 'hacker' élégante.

Readme

GreenTerminal UI

React · TypeScript · License: MIT

🌐 Démo en ligne / playground — vitrine interactive des composants thémés.

GreenTerminal UI est un thème "dark hack green" pour @fzed51/react-component, inspiré des interfaces rétro des terminaux informatiques. Parfait pour les dashboards techniques, les applications cyberpunk ou tout projet nécessitant une ambiance immersive et futuriste.

Concrètement, GreenTerminal :

  • re-skinne les composants de react-component (Button, Card, Table…) via une couche de design tokens + une couche cosmétique (glow néon, préfixes > [ ] //, police monospace, coins anguleux) ;
  • ré-exporte ces composants re-stylés sous la nomenclature GreenTerminal ;
  • ajoute ses propres composants signatures absents de react-component (Terminal, AppShell, Alert, ButtonGroup, EmptyState, PageHeader, ProgressBar, Spinner).

📦 Installation

Prérequis

  • React >=19

Commande

npm install @fzed51/green-terminal
# ou
yarn add @fzed51/green-terminal

@fzed51/react-component est installé automatiquement comme dépendance ; tu n'as pas besoin de l'ajouter toi-même.


🚀 Utilisation

Place le composant <BaseStyle /> une seule fois, à la racine de ton application : il injecte le socle CSS de react-component, les design tokens du thème et la cosmétique hacker.

import { BaseStyle, Button, Card, Terminal, TerminalLine } from "@fzed51/green-terminal";

export function App() {
  return (
    <>
      <BaseStyle />
      <Card>
        <Terminal title="SESSION">
          <TerminalLine prompt>whoami</TerminalLine>
          <TerminalLine>root@green-terminal</TerminalLine>
        </Terminal>
        <Button variant="primary">Se connecter</Button>
      </Card>
    </>
  );
}

📂 Composants disponibles

Ré-exportés de react-component (re-skinnés)

| Composant | Source react-component | Description | | ------------- | ------------------------ | ------------------------------------------ | | Button | Button | Bouton (variantes, tailles, loading). | | Badge | Badge | Pastille de statut. | | Card | Card | Carte conteneur. | | Table | Table | Tableau data-driven (columns / data). | | Input | InputText | Champ de saisie texte. | | Select | Selector | Liste déroulante. | | Separator | Divider | Séparateur (avec label optionnel). | | Textarea | InputTextarea | Zone de texte multiligne. |

Signatures GreenTerminal (propres au thème)

| Composant | Description | | ------------------------- | -------------------------------------------------- | | BaseStyle | Injecte le thème global (à poser une seule fois). | | Terminal / TerminalLine | Bloc terminal avec lignes et invite (prompt). | | AppShell | Conteneur applicatif pleine page. | | Alert | Message (success / error / warning / info).| | ButtonGroup | Regroupe des boutons (horizontal ou vertical). | | EmptyState | État vide (icône, titre, description, action). | | PageHeader | En-tête de page (titre + sous-titre). | | ProgressBar | Barre de progression (CSS pleine ou jauge ASCII). | | Spinner | Indicateur de chargement ASCII animé. |

⚠️ Changements d'API par rapport aux versions ≤ 0.1.0 (composants désormais issus de react-component) :

  • Table n'utilise plus la composition TableBody/TableCell/TableHead/TableRow mais l'API data-driven columns / data.
  • Button change de jeu de variantes (primary, secondary, outline, ghost, danger) et gagne size / loading / fullWidth.
  • Input, Select, Separator, Textarea adoptent les props de react-component.

Props — Spinner

| Prop | Type | Défaut | Description | | ----------- | ------------------------------------------------------ | ------------ | ----------------------------------------------------------------- | | variant | "braille" | "line" | "dots" | "arrow" | "bar" | "braille" | Jeu de caractères animés. | | label | string | — | Libellé affiché à droite du spinner. | | speed | number | 80 | Durée d'une frame (ms). Ignoré si cycle est défini. | | cycle | number | — | Durée d'un cycle complet (ms), répartie sur toutes les frames. Prioritaire sur speed. | | className | string | — | Classe CSS additionnelle. | | style | React.CSSProperties | — | Styles inline. |

Si cycle et speed sont fournis, speed est ignoré et un console.warn est émis. L'animation respecte prefers-reduced-motion: reduce (spinner figé sur la première frame).

<Spinner label="Connexion au serveur" />
<Spinner variant="line" speed={120} label="Compilation" />
<Spinner variant="braille" cycle={1000} label="Scan" />  {/* 1 tour = 1 s */}

🛠 Développement

Prérequis

  • Node.js (v22+)
  • yarn

Lancer le playground en local

yarn install
yarn dev          # playground Vite (vitrine des composants thémés)

💡 Le playground est aussi déployé en ligne : https://fzed51.github.io/green-terminal/

Construire la librairie

yarn build        # ESM + CJS + types + CSS
yarn check        # lint / format (Biome)

📄 License

Ce projet est sous licence MIT. Voir le fichier LICENSE pour plus de détails.