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

apiops-design-system

v0.1.0

Published

Boring, reusable APIOps design tokens, CSS, assets, and React canvas primitives.

Readme

apiops-design-system

The deliberately small APIOps visual foundation: tokens, CSS, assets, metadata, and reusable React canvas primitives.

import "apiops-design-system/styles.css";
import { CanvasSystemShell, StakeholderRoleSelector } from "apiops-design-system/react";
import { designSystemAssets, designSystemAssetManifest } from "apiops-design-system/assets";

Focused React entry points are available at /react/canvas, /react/metro, and /react/patterns. Visual-contract fixtures live under /testing so production consumers do not need to make demonstration utilities part of their public API.

Method context patterns

MethodContextBar renders the persistent stakeholder, goal, cycle, and location summary with existing method and metro icons. MethodContextEditor supplies the progressively disclosed editor surface, while ContextGuidance provides success, warning, and neutral route guidance. Applications retain ownership of method data, state, localization, and navigation behavior.

The React entry point includes the canvas shell, grid, zones, notes, and metadata controls. CanvasSystemFixture renders every mode and the complete canvas visual-state contract for regression and accessibility review.

The application owns method definitions, persistence, schema validation, locale, downloads, and attribution. This package owns canvas presentation, accessible interaction states, notes, metadata controls, and print treatments. The entry point also includes selectors for stakeholder roles and resources; compact sections, pill lists, partner cards, and announcement toasts. Every component is method-agnostic and receives its content and localized labels through props.

This package owns visual concepts only. Method catalogs, cycle and station data, canvas content, and APIOps method IDs stay in apiops-cycles-method-data or the consuming application.

Applications import styles.css once in their root layout and use the asset entry point for public paths and inventory metadata. They should not copy assets or repeat the /design-system mount convention. The React components accept all method and localized content through props; this package must not import generated catalogs. Run npm test before publishing to verify the package contract.

Assets

The default named asset inventory uses /design-system. Applications deployed at a subpath or behind a CDN can call createDesignSystemAssets(basePath) or pass a base path to designSystemAssetPath(path, basePath).

The human illustration assets follow the APIOps Character Grammar, which defines poses, expressions, symbols, colors, connections, scene recipes, and the missing building blocks needed for the API Chaos campaign compositions.

Copy the complete asset catalog from an installed package with:

apiops-design-system copy-assets --output public/design-system

The CLI resolves its source relative to the installed module, so consumers do not need to reproduce this repository's workspace layout.

Publishing

npm pack and npm publish run the package build through prepack. Validate a release candidate with npm test and inspect npm pack --dry-run --json; all public exports and the asset-copy CLI must be present in the resulting tarball.

The public npm package name is unscoped:

npm publish

Versioning

  • Patch: fixes, docs, and compatible visual refinements.
  • Minor: new tokens, components, or assets.
  • Major: renamed tokens/classes or changed component APIs.