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

@stackonward/nuxt-site-shell

v0.3.2

Published

Brand-free Nuxt product-site platform layer for modules, runtime config, SEO and theme seams

Readme

@stackonward/nuxt-site-shell

Brand-free Nuxt product-site layer for shared modules, runtime configuration, SEO defaults, theme seams, assets, and cache policy. It extends @stackonward/nuxt-layer-base but does not ship product pages or business workflows.

Install

pnpm add @stackonward/nuxt-site-shell @stackonward/nuxt-layer-base @nuxt/image @nuxt/ui @nuxtjs/seo @pinia/colada-nuxt @vueuse/nuxt @iconify-json/lucide pinia tailwindcss unhead

Nuxt and Vue are peer dependencies of the consuming application.

Extend the layer

export default defineNuxtConfig({
  extends: ["@stackonward/nuxt-site-shell"],
});

Set the public site values through the deployment environment:

NUXT_PUBLIC_SITE_URL=https://product.example
NUXT_PUBLIC_SITE_NAME=Product Name
NUXT_PUBLIC_SITE_DESCRIPTION=What the product helps people accomplish.
NUXT_PUBLIC_SITE_ENV=production
NUXT_PUBLIC_APP_VERSION=1.2.3

Included stack

The layer composes:

  • Nuxt UI with system color mode and Lucide icons;
  • VueUse and Pinia Colada;
  • Nuxt Image with no provider selected by default;
  • the Nuxt SEO module suite;
  • strict TypeScript and Nuxt 4 layer semantics;
  • compression, immutable built assets, no-cache application/API routes, and sitemap caching.

Non-production environments are non-indexable and add noindex,nofollow. Production enables indexability and sitemap output based on NUXT_PUBLIC_SITE_ENV=production.

Public runtime configuration

| Key | Environment source | Default | | -------------------------------------- | -------------------------------------- | ------------------------------------------ | | public.app.version | NUXT_PUBLIC_APP_VERSION | package version or 0.0.1 | | public.api.timeout | NUXT_PUBLIC_API_TIMEOUT | 30000 ms | | public.site.url | NUXT_PUBLIC_SITE_URL | https://example.com | | public.site.name | NUXT_PUBLIC_SITE_NAME | Product Platform | | public.site.description | NUXT_PUBLIC_SITE_DESCRIPTION | generic foundation description | | public.site.environment | NUXT_PUBLIC_SITE_ENV | NODE_ENV or development | | public.identity.google.* | NUXT_PUBLIC_GOOGLE_* | disabled and empty | | public.checkout.* | NUXT_PUBLIC_CHECKOUT_* | empty URL and checkout_status result key | | public.media.youtube.privacyEnhanced | NUXT_PUBLIC_YOUTUBE_PRIVACY_ENHANCED | true |

Open Graph image generation and Schema.org identity are opt-in through NUXT_PUBLIC_OG_IMAGE_ENABLED and NUXT_PUBLIC_SCHEMA_ORG_ENABLED.

Override product-owned decisions

A consuming application should replace the generic site name, description, URL, logo, icons, default Open Graph image, organization identity, locales, image provider, and any external connection hints it does not use. Nuxt layer merging keeps those decisions in the product repository.

The layer exposes configuration seams for Google identity and checkout URLs; it does not implement authentication or payment flows. Add the corresponding product modules and server APIs explicitly.

Runtime entry

import { formatTitle, type NavItem } from "@stackonward/nuxt-site-shell/runtime";

const title = formatTitle("Pricing", "Product Name");
const item: NavItem = { label: "Pricing", to: "/pricing" };

The runtime entry exports brand-neutral navigation, footer, content-summary, article, and Config types plus formatTitle. These are contracts for consumer-owned shells; this layer does not render them.

Compatibility

  • Nuxt >=3.15.0
  • Vue ^3.5.0
  • Nuxt UI >=4.9.0 <5
  • Nuxt Image >=2.0.0 <3
  • Nuxt SEO >=5.3.0 <6
  • Pinia >=3.0.4 <4 and Pinia Colada Nuxt >=1.0.0 <2
  • VueUse Nuxt >=14.0.0 <15
  • Tailwind CSS >=4.0.0 <5
  • Unhead >=3.1.7 <4

Related packages

  • @stackonward/nuxt-layer-base owns the smaller API/session/i18n foundation.

License

MIT