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

@minimalstuff/ui

v1.2.1

Published

React UI component library.

Downloads

523

Readme

@minimalstuff/ui

React UI component library.

Installation

pnpm add @minimalstuff/ui react react-dom

Peer dependencies: React 18 or 19.

Usage

import { Button } from '@minimalstuff/ui';
import '@minimalstuff/ui/style.css';

export function App() {
	return <Button variant="primary">Click me</Button>;
}

The @minimalstuff/ui/style.css import is required for styles and icons to render.

Development

pnpm install
pnpm run dev        # Storybook on :6006
pnpm run lint
pnpm run test
pnpm run build      # Library build → dist/

Releasing

CI (lint, test, build) and npm publish run together when a GitHub Release is published.

Prerequisites

  1. NPM token Create an automation token at npmjs.com/access-tokens (scope: package publish for @minimalstuff/ui).

  2. Repository secret In the repo: Settings → Secrets and variables → Actions. Add a secret named NPM_TOKEN with the token value.

Procedure

  1. Bump version (optional if using tag-based versioning):

    pnpm version 1.2.0   # or 1.2.0-alpha.0 for prerelease
    git push && git push --tags
  2. Create a GitHub Release Releases → Draft a new release:

    • Choose or create a tag (e.g. v1.2.0). Use the same version as in package.json if you bumped it; otherwise the workflow sets the package version from the tag (e.g. v1.2.01.2.0).
    • Add release notes and publish.
  3. Workflow The CI & Publish workflow runs on release published. It sets the package version from the tag, runs lint, test, build, then pnpm publish --no-git-checks. The package is published under the tag latest (or the tag you set for prereleases).

Prereleases

Semver prereleases (e.g. 1.0.0-0, 1.0.0-alpha.1) are supported. To avoid making them the default install:

  • Publish with a dist-tag, e.g. pnpm publish --tag next, or
  • Rely on consumers installing an explicit version: pnpm add @minimalstuff/[email protected].

If you want CI to publish prereleases automatically (e.g. on tag v1.0.0-alpha.1), add a separate workflow or extend the existing one to run on prerelease tags and use --tag next.