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

@bitspark-ai/design

v0.37.0

Published

Bitspark design system — tokens, Svelte 5 components, and the reactive display clock.

Downloads

37,834

Readme

@bitspark-ai/design

The Bitspark design system — design tokens, Svelte 5 components, framework-pure UI recipes, and a reactive display clock, shipped as one package under one semver.

Published from a private source, installable with no registry auth.

npm i @bitspark-ai/design
# Svelte 5 is a peer dependency — the consumer supplies it:
npm i svelte

Quick start

Load the tokens + base stylesheet once (required — components are styled through the token layer), then import components and utilities from the barrel:

// once, at your app root:
import '@bitspark-ai/design/css';
<script>
  import { Button, DataTable, StatCard } from '@bitspark-ai/design';
  import { formatDuration, staleness } from '@bitspark-ai/design';
</script>

<StatCard label="Uptime" value="99.98%" tone="success" />
<Button loading={submitting}>Publish</Button>

What's inside

  • ~93 components — primitives (Button, Badge, Icon, Card…), data & metric surfaces (DataTable, StatCard, Meter, DecayMeter, Sparkline, BarChart…), navigation & shell (AppShell, SideNav, MarketingNav, Breadcrumbs…), live-ops (LiveStatusBar, LivenessStatus, Lane / LaneGroup / ConnectorNode…), and the changelog family (ReleaseFeed, ReleaseBanner…). Every component's metadata is machine-readable via ./catalog.
  • Design tokens — colour, surface, spacing, type, and motion tokens as CSS custom properties (./css, ./*.css) and as typed JS values (./tokens).
  • UI recipes & actions — small, framework-pure, tree-shakeable utilities exported from the barrel:
    • formattingformatDuration, formatBytes, formatRelativeTime, shortModelName
    • state & colourclassifyFreshness, thresholdColor, utilizationColor, rowStateClasses, deltaText/deltaClass
    • collection-at-scalepressure (occupancy + hot), staleness (duration → warm→cold), adaptive (representation by count)
    • motionuse:travel (keyed FLIP move) and use:flight (source→target enter), plus prefersReducedMotion, valueChange, motionMs
    • navigation & miscpaginationMode, collapseBreadcrumbs, tabIndicator, toastStore
  • ./time — a reactive display clock and time formatters (duration, relative time, cost), safe to share across the kit under the same semver.

All utilities carry full JSDoc; import from @bitspark-ai/design and your editor surfaces the signatures.

Subpath exports

| Import | What | |--------|------| | @bitspark-ai/design | components + recipes + actions (the barrel) | | @bitspark-ai/design/css | the aggregate tokens + base stylesheet (import once) | | @bitspark-ai/design/tokens | design tokens as typed JS values | | @bitspark-ai/design/base.css · /motion.css · /portal.css | individual style layers | | @bitspark-ai/design/time | the reactive display clock + time formatters | | @bitspark-ai/design/catalog | machine-readable component metadata | | @bitspark-ai/design/roles | component role/kind classification |

Framework

Built with svelte-package — Svelte 5 source ships to dist/ (not pre-compiled), so your bundler compiles it in your app's Svelte context. Svelte ^5.55.1 is a peerDependency. Components are framework-pure: no SvelteKit $app/* imports — navigation is injected through a resolveHref seam, so any Svelte 5 app can consume the kit. CSS carries side effects (sideEffects: ["**/*.css"]), so your bundler keeps the imported styles while tree-shaking unused JS.

License

UNLICENSED — world-installable, all rights reserved. Not open-source; installable from a private source with no auth. See the repository for terms.