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

@stnd/lab

v1.0.0

Published

--- title: "@stnd/lab" aliases: [] created: 2026-07-05 07:41 modified: 2026-07-05 19:22 last_audited: 2026-07-14 audit_interval_days: 90 next_audit: 2026-10-12 audit_priority: 3 maturity: sprout mode: read publish: false status: active tags: - package

Readme


title: "@stnd/lab" aliases: [] created: 2026-07-05 07:41 modified: 2026-07-05 19:22 last_audited: 2026-07-14 audit_interval_days: 90 next_audit: 2026-10-12 audit_priority: 3 maturity: sprout mode: read publish: false status: active tags:

  • package
  • stnd theme: kernel type: package visibility: private

@stnd/lab

Development tools and inspectors for the Standard Ecosystem.

ELI5

Press Cmd+S (or Ctrl+S) on any Standard site in dev mode and a panel slides open showing every CSS token in play — colors, spacing, type scale — editable live. It’s how you tune a theme by feel instead of guessing values and rebuilding.

It’s already on@stnd/lab is a Gold Standard module, so any @stnd/core app gets it automatically in dev mode. Nothing to install.

Overview

@stnd/lab provides a set of tools designed to help developers inspect, debug, and refine their applications during development. Its primary component is the Lab inspector, which allows for real-time adjustments of design tokens and themes.

Key Components

  • Lab.svelte: A comprehensive on-page inspector for CSS tokens, themes, and layouts.

Features

  • Token Inspector: View and edit all active CSS custom properties in real-time.
  • Theme Switcher: Instantly preview different themes from @stnd/themes.
  • Responsive Previews: Toggle various viewport sizes and orientations.
  • Grid & Rhythm Overlays: Visualize the baseline grid and golden ratio layout blocks.
  • Color Explorer: Inspect OKLCH color palettes and contrast ratios.

Usage

The Lab component is typically injected automatically by the @stnd/core integration when in development mode. To include it manually:

<script>
  import { Lab } from "@stnd/lab";
</script>

{#if import.meta.env.DEV}
  <Lab />
{/if}

Shortcuts

  • Cmd/Ctrl + S: Toggle the Lab panel open/dormant (overrides the browser’s save dialog).
  • Cmd/Ctrl + D: Same toggle, alternate binding.
  • Shift + Cmd/Ctrl + D: Toggle debug overlays (stnd-debug class + on-page debug info), independent of the panel itself.

Notes / Observations

  • old.standard.lab.js (1,545 lines) sits in this package unreferenced by anything — looks like the pre-Svelte-5 predecessor to Lab.svelte.

Todo

  • [ ] Confirm old.standard.lab.js is dead and delete it — nothing imports [priority:: 3] [token_scale:: 3] [created:: 2026-07-14] [area:: framework] it; grep found zero references anywhere in the repo.