Observed since 20 Oct, 21:33 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
98ts
Reserved for a future 98.css TypeScript UI library.
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.
Button, Window, and Checkbox..el property.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
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);
Coming soon
All components follow the same object-oriented style:
const component = new Component(props);
document.body.appendChild(component.el);
.el exposes the underlying DOM elementMIT
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
Source distribution
{
"shasum": "b2498c5106090b8e48d5e0f9036654d36f39d58c",
"tarball": "https://registry.npmjs.org/98ts/-/98ts-0.0.1.tgz",
"fileCount": 1,
"integrity": "sha512-1tV2J+gEKL/WmY1aFeXme7xYG3LC8/CJ5mLd+FBsrAujoePMUny3nsH52LCFA/Lcx5CtAzZUp6Z23aSTfHDVGQ==",
"signatures": [
{
"sig": "MEUCIQD+BAytVVLPwD4KLsB4b/e7wi002SSUyUoRfIQDfBvdJwIgbhC4aqZF6KcJdgQwcvN00WjAXj88foN4c9psgcVzzlk=",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
}
],
"unpackedSize": 188
}Observed since 20 Oct, 21:33 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:bbe03b88a0c078801142f75cfc6ea6ef88bcfe640adac97e2ee5a1287f4d8dfc