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

@cvernet/signet

v0.5.0

Published

The web side of the Signet design seal — CVER's shared web design elements. Framework-agnostic CSS with Astro and Svelte components.

Readme

@cvernet/signet

The web side of the Signet design seal — CVER's shared web design elements, so every CVER website renders as the same family the way the native apps do. Framework-agnostic CSS with thin Astro and Svelte wrappers.

Same seal, two surfaces: the repo root is the SwiftUI package (import Signet) for CVER's native macOS apps; this packages/web package is the npm side for CVER's websites (cver.net, feelreef, …).

Install

npm install @cvernet/signet

Arrow

A directional link arrow with a tail-retract hover morph. At rest it's a full arrow; on hover of the nearest .group ancestor (or the enclosing <a>) the tail retracts into the chevron ( collapses to >). One animation; direction rotates it, so the same motion reads correctly everywhere:

| direction | rotation | use for | |---|---|---| | right (default) | 0° | link / next | | left | 180° | back / previous | | up-right | -45° | external / outbound |

The geometry is the canonical CVER arrow (chevron 10 6 16 12 10 18, stroke 2), and the tail weight tracks the chevron stroke (size / 12) so the whole arrow thickens and thins as one unit at any size. Pure CSS + SVG, currentColor throughout, no JS, SSR-friendly.

Import the stylesheet once in your app, then use the component for your framework:

import '@cvernet/signet/arrow.css';

Astro (cver.net):

---
import Arrow from '@cvernet/signet/Arrow.astro';
---
<a class="group">Read more <Arrow /></a>
<a class="group">Back <Arrow direction="left" /></a>
<a href="https://github.com/CVERInc" class="group" rel="noopener">
  GitHub <Arrow direction="up-right" />
</a>

Svelte (feelreef):

<script>
  import Arrow from '@cvernet/signet/Arrow.svelte';
</script>
<a class="group">Read more <Arrow /></a>
<a class="group">Back <Arrow direction="left" /></a>
<a href="https://github.com/CVERInc" class="group" rel="noopener">
  GitHub <Arrow direction="up-right" />
</a>

Props: direction ('right' | 'left' | 'up-right', default 'right'), size (px, default 16), class (extra classes).

The hover morph fires from any ancestor carrying the Tailwind-style group class (cards, tertiary buttons) or the enclosing anchor — so plain links and primary/secondary buttons animate too, no group needed. prefers-reduced-motion disables the transition.

Locale banner

A top strip that offers a visitor their own language when it differs from the page's — detect on navigator.languages, suggest, remember the dismissal. CSS + a tiny vanilla controller + Astro/Svelte wrappers. The cver.net-specific bits are parameterised, so any CVER site can use it.

import '@cvernet/signet/locale-banner.css';
---
import LocaleBanner from '@cvernet/signet/LocaleBanner.astro';
const PREFIXES = { 'en-us': ['en'], 'ja-jp': ['ja'], 'ko-kr': ['ko'], 'zh-tw': ['zh'] };
---
<LocaleBanner
  current={locale}
  defaultLocale="en-us"
  excludePath="/language"
  class="bleedblend-top bleedblend-push"
  options={localesOnThisPage.map((l) => ({
    id: l,
    match: PREFIXES[l],
    prompt: dict(l).LOCALE_BANNER_PROMPT,
    continue: dict(l).LOCALE_BANNER_CONTINUE,
    dismiss: dict(l).LOCALE_BANNER_DISMISS,
  }))}
/>

Svelte is the same, from @cvernet/signet/LocaleBanner.svelte.

Props: current (page locale id), options (one per locale that has this page — { id, match: string[], prompt, continue, dismiss? }, each addressed in the language it suggests), excludePath? (regex string, e.g. the language picker page), storageKey?, ariaLabel?, class? (e.g. bleedblend's bleedblend-top bleedblend-push so it tints the chrome and pushes content), id?.

Switch-href strategy — how the "switch" link is built, to match your i18n:

  • hrefStrategy="prefix" (default) + defaultLocale (e.g. "en-us"): URL-prefix routing — strip the current locale prefix off the URL, add the suggested one (en-us at the bare path, others at /<loc>/path). Used by cver.net.
  • hrefStrategy="query" + queryParam (default "lang"): keep the path, set ?<param>=<loc> — for sites that switch via a query param + cookie (e.g. paraglide). Used by feelreef.

The href is built client-side so it stays correct across view transitions. SSR-safe; add .bleedblend-push if you want it to push content instead of overlaying it.