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

farn-theme

v0.7.0

Published

A token-first CSS design system rooted in the forests of northern Germany — palette + semantic tokens, plus ready-to-use component classes

Readme

Farn

CI License Version

Sharp. Warm. Intellectual.

Farn is a zero-dependency, token-first CSS design system for projects that want a calm, intellectual aesthetic without a JavaScript framework. A single <link> gives you a two-layer token system — raw palette tokens plus semantic tokens for dark and light mode — and opt-in component classes (buttons, cards, forms, badges, breadcrumbs, accordion) and typography utilities built on top. Inspired by Nord Theme.

📖 Full documentation at farn.jbpt.de

Tokens, components, theming, live examples, and copy-paste Templates live on the docs site. This README is just enough to install and orient.


Farn colour palettes — Iron Night, Birch Mist, Forest, Bloom


Install

npm / pnpm / yarn

npm install farn-theme
@import "farn-theme";             /* full bundle: tokens + base reset */
@import "farn-theme/tokens";      /* tokens only — no reset */
@import "farn-theme/components";  /* opt-in component classes */
@import "farn-theme/typography";  /* opt-in typography utility classes */

CDN (no build step)

<link rel="stylesheet"
  href="https://cdn.jsdelivr.net/gh/jabopiti/[email protected]/dist/farn.css">

Replace 0.7.0 with the latest release tag, or pin it for stability.

Prevent a flash of the wrong theme by adding this before <body>:

<script>
  (function() {
    const stored = localStorage.getItem('farn-theme');
    const system = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
    document.documentElement.setAttribute('data-theme', stored ?? system);
  })();
</script>

Set data-theme="dark|light" for mode and data-surface="base|layer|overlay" for depth — see the Getting Started guide for the full setup.


Repo layout

For anyone forking or contributing:

  • tokens/ — CSS source of truth. Edit here, never dist/.
  • dist/ — built bundles (farn.css, farn-tokens.css, farn-components.css, farn-typography.css).
  • site/ — the Astro documentation site, itself built with Farn.

Build bundles after any tokens/ change with npm run build. Contributor conventions live in .agents/AGENTS.md; release history in CHANGELOG.md.


For AI assistants

The farn-styling skill applies Farn colors and typography to any visual output. If your AI assistant supports skills, you can use this to ensure visual consistency when generating UI artifacts.

A compact reference for AI-assisted coding is also available at llms.txt.

License

MIT — see LICENSE.

Design by Jacob Lueg Tiedemann.