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

@dstn/remcss

v2.0.0

Published

A rem-only, Golden Ratio based CSS framework for the 2026 web ecosystem.

Readme

remCSS v2

A modern, production-ready CSS framework for the 2026 web ecosystem — rooted in the Golden Ratio (φ = 1.618…) and built entirely in pure CSS.

  • rem-only — every spatial value derives from a single root rem unit; change the browser font size, change everything proportionally
  • Golden Ratio scale--step-n3 through --step-12, computed as calc() chains from --phi; no arbitrary values
  • Pure CSS — zero preprocessors, zero JS runtime; the source is the output
  • 2026 standards — CSS Layers (@layer), oklch() color, light-dark(), logical properties, container queries, @scope
  • Single file output@dstn/remcss publishes one dist/remcss.css, no build step required in consumer projects

v1 (SCSS legacy) lives on the legacy branch.


Installation

npm install @dstn/remcss
<!-- or drop in directly -->
<link rel="stylesheet" href="node_modules/@dstn/remcss/dist/remcss.css" />
// via bundler
import '@dstn/remcss';

What's inside

| Layer | Files | Purpose | | ------------ | -------------------------------------------- | -------------------------------------------- | | base | src/base/reset.css | Modern CSS reset, root variables, font-face | | tokens | src/tokens/{scale,colors,typography}.css | --phi, --step-*, oklch() palette, fluid type | | components | src/components/{buttons,forms,table,grid}.css | Buttons, forms, tables, grid containers | | utilities | src/utilities/{spacing,flex,grid-utils,colors}.css | Single-purpose utility classes |

Golden Ratio scale

1rem = 10px (via html { font-size: 62.5% }). All steps multiply or divide by φ:

| Step | rem | px @10px | | ---- | ------- | -------- | | n3 | 0.2361 | 2.36 | | n2 | 0.3820 | 3.82 | | n1 | 0.6180 | 6.18 | | 0 | 1.0000 | 10.00 | | 1 | 1.6180 | 16.18 | | 2 | 2.6180 | 26.18 | | 3 | 4.2361 | 42.36 |

Color system

All colors in oklch(). Themes via light-dark() — no @media (prefers-color-scheme) in component rules.

--color-accent: oklch(62% 0.22 27); /* brand red */
background: light-dark(var(--color-surface-light), var(--color-surface-dark));

12 named families (red → pink), each with 6 lightness steps (10 / 30 / 50 / 70 / 90 / 95).


Development

npm install
npm run build        # → dist/remcss.css via Vite + Lightning CSS
npm test             # Vitest: enforces zero px in authored source
npm run docs:dev     # VitePress docs at localhost:5173
npm run docs:build   # Production docs build
# After any change:
npm version patch    # bug fixes
npm version minor    # new features
npm version major    # breaking changes

npm version automatically syncs the version into docs/.vitepress/config.js and test/index.html via scripts/sync-version.js.


Tech stack

| Role | Tool | Version | | ------------- | ------------- | -------- | | Build | Vite | ^8.0 | | CSS Transform | Lightning CSS | ^1.32 | | Unit tests | Vitest | ^4.1 | | Visual tests | Playwright | ^1.60 | | Docs | VitePress | ^1.6 |


Docs

Live: remcss.vercel.app (deployed from docs/.vitepress/dist via Vercel)

See CLAUDE.md for the full specification and coding standards. See CHANGELOG.md for version history.