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

create-signet-app

v0.1.0

Published

Scaffold a Vite + React + Tailwind app wired to Signet.

Readme

create-signet-app

Scaffold a Vite + React 19 + TypeScript + Tailwind v4 app wired to @nimit9/signet-tokens, @nimit9/signet-ui and @nimit9/signet-lib.

bun run packages/create-signet-app/src/index.ts apps/my-app --theme cinematic
cd apps/my-app && bun install && bun dev

--theme takes editorial or cinematic (default editorial).

Why

The audit found this exact setup rebuilt by hand 13 times across 23 products, and the five-package eslint config copied as a block into exactly 8 of 23 repos — the identical count for all five packages is the signature of copy-paste, not configuration.

What you get

  • dev / build / preview / lint / typecheck — the script names already used across the existing repos, so muscle memory carries over
  • tsconfig.json with app/node project references, strict, path alias @/*
  • eslint flat config, fixed (see below)
  • src/app.css importing the chosen theme
  • main.tsx with ThemeProvider, a QueryClient on Signet defaults, and a single-redirect 401 handler
  • index.html with a blocking script that applies the stored theme before first paint — React mounts too late, and without it there is a visible flash
  • src/lib/api.ts with a configured createApiClient

Two bugs this fixes in the copied setup

import.meta.env did not typecheck. The copied tsconfig.app.json omits "types": ["vite/client"], so tsc -b fails on any use of an env var.

The eslint config is broken against current versions. The config in the existing repos uses reactHooks.configs.flat.recommended, which was removed in eslint-plugin-react-hooks 5.2. Installing fresh gives:

TypeError: Cannot read properties of undefined (reading 'recommended')

The template uses reactHooks.configs["recommended-latest"]. Existing repos only still work because their lockfiles pin older versions — copying their config into anything new produces a crash.

Test

bun run test scaffolds a real app, installs, builds and lints it, then asserts the chosen theme reached the production CSS bundle (.text-sm{font-size:1rem} and .rounded-lg{border-radius:.1875rem} for cinematic, not editorial's 0.8125rem / .75rem). Both bugs above were caught by that test on its first run.

Limitation

Dependencies are declared workspace:*, so a scaffolded app must live inside the Signet monorepo (apps/*). Publishing the packages to a registry would lift that; until then, scaffold into apps/.