Catalog npm
PACKAGE EXPLORERView in registry

98ts

npm

Vanilla TypeScript components styled like Windows 98

98.csscomponentswindows98
Versions collected6
Direct dependencies18From release 0.0.6
Last observed20 Oct, 21:33 UTC

README

Current package documentation

98ts

A lightweight, vanilla TypeScript library for creating interactive 98.css components

Bring retro Windows 98 UI elements to life with TypeScript - fully class-based, framework-free, and ready to drop into modern projects like Vite or Webpack.


Features

  • Minimal, vanilla TypeScript classes for components like Button, Window, and Checkbox.
  • Easy DOM integration via .el property.
  • Fully typed with TypeScript for autocompletion and safety.
  • Framework-agnostic — works anywhere that uses modern JavaScript/TypeScript.
  • Designed to complement 98.css styling

Installation

npm install 98ts
# or
pnpm install 98ts

Make sure to also include 98.css in your project:

<link rel="stylesheet" href="https://unpkg.com/98.css">

Alternatively, you can grab 98.css from the releases page or npm.

npm install 98.css
# or
pnpm install 98.css

Usage

import { Button } from "98ts";

// Create a new button
const btn = new Button({
  label: "Click Me!",
  onClick: () => alert("Hello, retro world!"),
});

// Append it to the DOM
document.body.appendChild(btn.el);

Components

Coming soon


API Style

All components follow the same object-oriented style:

const component = new Component(props);
document.body.appendChild(component.el);
  • .el exposes the underlying DOM element
  • Fully compatible with modern bundlers like Vite, Rollup, and Webpack

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 6

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.6Registry latest8 Nov 202518
0.0.58 Nov 202518
0.0.48 Nov 202517
0.0.38 Nov 202516
0.0.28 Nov 202516
0.0.16 Nov 20250

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:33 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b54c31ce146ee2212bc9e4a2cef0deb32f51df3ceee2223bc9dd76da4e594a69