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

@rettangoli/sitekit

v1.0.2

Published

Curated Rettangoli site themes, templates, partials, and VT coverage.

Readme

Rettangoli Sitekit

@rettangoli/sitekit is the curated asset package for Rettangoli sites. It owns reusable themes, templates, partials, schemas, and the VT coverage that validates them.

@rettangoli/sites remains the site generator engine.

Package Layout

rettangoli-sitekit/
  sitekit/
    templates/
    partials/
    themes/
    public/
    schemas/
  src/
  vt/
    specs/
    reference/
  _site/
  rettangoli.config.yaml

What Lives Here

  • sitekit/themes/: theme CSS bundles that consumer sites copy into static/public/
  • sitekit/templates/: reusable page-level YAML templates with sibling *.schema.yaml contract files
  • sitekit/partials/: internal/shared building blocks used by templates
  • sitekit/public/: small helper runtime assets required by the templates
  • sitekit/schemas/: data-contract schemas for template and partial inputs
  • src/: local preview site source that exercises the published assets
  • vt/: screenshot coverage for themes and published templates
  • _site/: generated preview output from bun run build

Local Preview

From this folder:

cd /home/ubuntu/rettangoli/packages/rettangoli-sitekit
bun run watch

Open:

  • http://127.0.0.1:4173/
  • http://127.0.0.1:4173/themes/slate-dark/
  • http://127.0.0.1:4173/templates/landing-features/
  • http://127.0.0.1:4173/templates/blog/article-list/

Static preview flow:

cd /home/ubuntu/rettangoli/packages/rettangoli-sitekit
bun run build
bun run serve

Then open:

  • http://127.0.0.1:4173/

bun run serve uses the local serve dev dependency from this package.

VT Commands

cd /home/ubuntu/rettangoli/packages/rettangoli-sitekit
bunx rtgl vt screenshot --group themes
bunx rtgl vt screenshot --group docs-template
bunx rtgl vt screenshot --group templates
bunx rtgl vt report --group templates
bunx rtgl vt accept

Local Structure

The package is split on purpose:

  • sitekit/: publishable assets
  • src/: preview site source
  • vt/: screenshot specs and references only
  • _site/: generated output

The scripts hide the generator flags so local usage stays short:

  • bun run watch
  • bun run build
  • bun run serve

Consumer Runtime Contract

The published templates assume these files exist in the consuming site's static/public/:

  • theme-rtgl-themes.css
  • mobile-nav.js
  • rtgl-icons.js

Copy them from:

  • sitekit/themes/theme-rtgl-themes.css
  • sitekit/public/mobile-nav.js
  • sitekit/public/rtgl-icons.js

UI runtime assets still come from @rettangoli/ui CDN inside the templates.

Published Asset Index

See sitekit/README.md for the public template/theme/schema paths and required data contracts. See src/README.md for the local preview site layout. See vt/README.md for VT commands and coverage structure.