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

@ewanc26/pds-landing

v2.0.6

Published

Composable Svelte components for an ATProto PDS landing page — terminal-aesthetic UI with live status fetching.

Readme

@ewanc26/pds-landing

Composable Svelte 5 components for an ATProto PDS landing page — terminal aesthetic, live status fetching, zero config to drop in.

Install

pnpm add @ewanc26/pds-landing @ewanc26/ui

Quick start — full page

<script>
  import { PDSPage } from '@ewanc26/pds-landing';
</script>

<!-- Drop-in: renders the complete terminal landing page -->
<PDSPage
  cardTitle="ewan's pds"
  promptUser="server"
  promptHost="pds.ewancroft.uk"
  tagline="Bluesky-compatible ATProto PDS · personal instance"
  blueskyHandle="ewancroft.uk"
/>

Import the PDS design tokens and base styles once in your layout:

/* app.css / layout.css */
@import '@ewanc26/ui/styles/pds-tokens.css';

Mix-and-match — primitives

All primitives are exported individually so you can compose custom layouts.

<script>
  import {
    TerminalCard,
    PromptLine,
    Tagline,
    SectionLabel,
    Divider,
    StatusGrid,
    LinkList,
    ContactSection,
    PDSFooter,
  } from '@ewanc26/pds-landing';
</script>

<TerminalCard title="my pds">
  <PromptLine user="server" host="pds.example.com" />
  <Tagline text="My custom tagline" />

  <SectionLabel label="status" />
  <StatusGrid />          <!-- fetches live from same origin -->

  <Divider />

  <SectionLabel label="links" />
  <LinkList links={[
    { href: 'https://bsky.app', label: 'Bluesky' },
    { href: 'https://atproto.com', label: 'ATProto docs' },
  ]} />

  <Divider />

  <SectionLabel label="contact" />
  <ContactSection blueskyHandle="you.bsky.social" />
</TerminalCard>

<PDSFooter />

Use raw KV data

<script>
  import { KVGrid } from '@ewanc26/pds-landing';
  import type { KVItem } from '@ewanc26/pds-landing';

  const items: KVItem[] = [
    { key: 'status', value: '✓ online', status: 'ok' },
    { key: 'region', value: 'eu-west-1' },
    { key: 'invite', value: 'required', status: 'warn' },
  ];
</script>

<KVGrid {items} />

Fetch status yourself

import { fetchPDSStatus } from '@ewanc26/pds-landing';

const { health, description, accountCount } = await fetchPDSStatus('https://pds.example.com');

Components

| Component | Description | |---|---| | PDSPage | Full assembled landing page (convenience) | | TerminalCard | Terminal window shell with traffic-light dots titlebar | | PromptLine | user@host:path $ bash prompt header | | Tagline | Dimmed subtitle beneath the prompt | | SectionLabel | Uppercase section heading | | Divider | Thin green-tinted <hr> | | KVGrid | Key-value grid with ok/warn/err/loading states | | StatusGrid | Live-fetching PDS status grid (wraps KVGrid) | | LinkList | → link list | | ContactSection | Bluesky mention + optional email | | PDSFooter | Footer with nixpkgs / atproto links |

Design tokens

All components consume CSS custom properties from @ewanc26/ui/styles/pds-tokens.css:

--pds-font-mono
--pds-color-crust / mantle / base / surface-0 / surface-1 / overlay-0
--pds-color-text / subtext-0
--pds-color-green / red / yellow / shadow