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

webui98

v1.0.0

Published

A lightweight, hackable GUI kit with a Windows 95/98 aesthetic. Zero dependencies.

Readme

WebUI98 — Modern Classic

A lightweight, hackable GUI kit with a Windows 95/98 soul. Zero dependencies. Pure HTML, CSS, and vanilla JavaScript.

npm version MIT License


Features

  • Hard, chiseled edges – no rounded corners, just sharp 3D bevels.
  • 3‑tier color system – clear visual hierarchy for tabs and surfaces.
  • Mechanical feedback – buttons and controls translate on press, mimicking physical switches.
  • Dark / Light mode – toggle with a single click, persists via localStorage.
  • Scroll‑Spy Sidebar – auto‑highlights the section you're viewing.
  • Rich component library:
    • Buttons (Default, Primary, Success, Danger)
    • Cards, Tags, Badges
    • Spinners & Progress bars
    • Dropdowns, Modals, Toasts
    • Forms (Inputs, Select, Checkboxes, Radios)
    • Toggle Switch (physical slider)
    • Breadcrumbs, Pagination
    • Code Blocks (Courier New)
    • Tabs (3‑tier active state)
    • Tables
    • Context Menu (right‑click)

Installation

npm

npm install webui98

Then import into your project:

<link rel="stylesheet" href="node_modules/webui98/webui98.css" />
<script src="node_modules/webui98/webui98.js"></script>

CDN (or direct download)

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/webui98/webui98.css" />
<script src="https://cdn.jsdelivr.net/npm/webui98/webui98.js"></script>

Or just copy the HTML structure from the demo page.

Quick Start


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>My WebUI98 App</title>
    <link rel="stylesheet" href="webui98.css" />
</head>
<body>

    <!-- Header -->
    <header class="app-header">
        <div class="title">
            <span class="icon">🖥️</span>
            <span>My App</span>
        </div>
        <div class="header-controls">
            <button class="win-btn" id="themeToggle">🌓</button>
            <button class="win-btn close">✕</button>
        </div>
    </header>
    <hr class="flatline" />

    <!-- Sidebar -->
    <nav class="sidebar">
        <div class="nav-title">📂 Menu</div>
        <a href="#section1" class="active">Section 1</a>
        <a href="#section2">Section 2</a>
    </nav>

    <!-- Content -->
    <main class="content">
        <section id="section1">
            <h2>Hello, WebUI98!</h2>
            <button class="btn btn-primary" onclick="showToast('Hello!', 'success')">
                Click Me
            </button>
        </section>
    </main>

    <!-- Toast Container -->
    <div class="toast-container" id="toastContainer"></div>

    <script src="webui98.js"></script>
</body>
</html>

Customization

Override the CSS variables in your own stylesheet:


:root {
    --accent: #ff6600;              /* your brand color */
    --header-bg-start: #1a1a2e;
    --header-bg-end: #16213e;
    --surface: #f4f4f4;
    /* ... etc */
}

Contributing

Pull requests are welcome! Please keep the zero‑dependency rule and maintain the hard‑edged, 95/98 aesthetic.

License

MIT © [Your Name]

Acknowledgements

  • Built for the classic Windows interface.
  • Fonts: Tahoma (UI) and Courier New (code).