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

@janldeboer/style-baseline

v0.1.0

Published

Shared CSS and small Svelte UI foundations for Jan de Boer's portfolio projects.

Readme

style-baseline

Shared CSS and small Svelte UI foundations for Jan de Boer's portfolio projects.

Purpose

@janldeboer/style-baseline provides reusable design tokens, reset rules, typography, layout primitives, navigation and document styles, utilities, and a small set of Svelte components.

It is shared infrastructure, not a full design system or app-specific theme.

Usage

Import the full baseline:

@import '@janldeboer/style-baseline';

Or import individual layers when a project needs tighter control:

@import '@janldeboer/style-baseline/design-tokens';
@import '@janldeboer/style-baseline/reset';
@import '@janldeboer/style-baseline/typography';

Exports

  • @janldeboer/style-baseline
  • @janldeboer/style-baseline/design-tokens
  • @janldeboer/style-baseline/reset
  • @janldeboer/style-baseline/typography
  • @janldeboer/style-baseline/layout
  • @janldeboer/style-baseline/components
  • @janldeboer/style-baseline/navigation
  • @janldeboer/style-baseline/documents
  • @janldeboer/style-baseline/utilities
  • @janldeboer/style-baseline/svelte/auth-card
  • @janldeboer/style-baseline/svelte/footer
  • @janldeboer/style-baseline/svelte/navbar
  • @janldeboer/style-baseline/svelte/docs-layout
  • @janldeboer/style-baseline/svelte/docs-markdown

Svelte Components

Use AuthCard for shared login, sign-up, and protected-page shells while keeping form actions and fields in each app:

<script lang="ts">
	import AuthCard from '@janldeboer/style-baseline/svelte/auth-card';
</script>

<AuthCard title="Project" subtitle="Login" error={form?.message}>
	<form method="post" class="stack">
		<!-- app-owned fields and actions -->
	</form>
</AuthCard>

Use Navbar for shared app navigation, auth links, and user menus:

<script lang="ts">
	import Navbar from '@janldeboer/style-baseline/svelte/navbar';
</script>

<Navbar
	brand="Project"
	user={data.user}
	links={[{ href: '/dashboard', label: 'Dashboard', requiresAuth: true }]}
	authLinks={{
		signIn: { href: '/login', label: 'Login' },
		signUp: { href: '/signup', label: 'Sign Up' },
		signOut: { href: '/logout', label: 'Logout', method: 'POST' }
	}}
/>

Footer uses the same signIn, signUp, and signOut auth action names as Navbar. Use DocsLayout for documentation navigation shells and DocsMarkdown for the package's deliberately small Markdown subset.

<script lang="ts">
	import DocsLayout from '@janldeboer/style-baseline/svelte/docs-layout';
	import DocsMarkdown from '@janldeboer/style-baseline/svelte/docs-markdown';
</script>

<DocsLayout nav={docsNav} currentPath="/docs">
	<DocsMarkdown markdown={content} />
</DocsLayout>

What Belongs Here

  • Cross-project CSS variables and semantic tokens.
  • Low-level reset, typography, layout, and utility classes.
  • Components that are intentionally shared across multiple projects.

What Belongs In Projects

  • Product-specific layouts and page composition.
  • Brand accents beyond token overrides.
  • One-off UI decisions that do not repeat across projects.
  • Behavior-heavy components tied to application state.

Commands

  • npm run check - run Svelte checks for package components.