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

@mtdt/observeops-ds-spec

v0.1.55

Published

Machine-readable spec and AI operating contract for the Motadata ObserveOps design system — components, tokens, page recipes, layout structure, and the rules an AI tool follows to build ObserveOps UI faithfully.

Downloads

7,630

Readme

@mtdt/observeops-ds-spec

The machine-readable spec + AI operating contract for the Motadata ObserveOps design system. Install it so any AI tool (Cursor, Claude Code, Windsurf, Copilot, Cline, …) can build ObserveOps UI from the real components, tokens, recipes and layout — instead of guessing.

This package is the machine-readable truth. The companion Storybook is the visual truth (see the catalogue link below) — use it to match the look; get all specs from the files here.

Install

npm install @mtdt/observeops-ds-spec

For an AI tool — read in this order

  1. AGENTS.md — the operating contract (read first): use only catalogued components, resolve every colour to a token, compose pages from recipes/layout, and STOP-and-ASK before using anything not in this DS.
  2. llms.txt — discovery entry point (links every part of the spec).
  3. components/index.json — the machine index (all components, families, token pointers).
  4. components/registry/<id>.json — per-component props/events/slots/apis, variants, tokens, a11y.
  5. components/recipes/recipes.json — page templates + flows (how to compose whole screens).
  6. layout/ + tokens/ + foundation/ — structure, the token crosswalk, and product coverage.

Point your tool's rules file at the contract, e.g. in .cursor/rules or your project AGENTS.md:

Follow node_modules/@mtdt/observeops-ds-spec/AGENTS.md when building any ObserveOps UI.

For code — the thin loader

const ds = require('@mtdt/observeops-ds-spec')

ds.version                       // spec version
ds.index                         // components/index.json (parsed)
ds.getComponent('button')        // index entry + full registry spec
ds.resolveToken('--primary')     // { light: '#111c2c', dark: '#e3e8f2', ... }
ds.resolveToken('@btn-radius')   // '4px'
ds.listRecipes()                 // [{ id, name, whenToUse }, ...]
ds.specPath('llms.txt')          // absolute path, for tools that read raw files

Deep imports work too: require('@mtdt/observeops-ds-spec/components/registry/drawer.json').

What's inside

  • components/index.json, registry/ (26 components), recipes/recipes.json, specs/ (prose).
  • tokens/ — the live layer (variables.json 336 themed CSS vars, structural.json LESS vars, kit-accents.json, purpose-map.json) + a future/portable DTCG layer (primitive / semantic.* / component.json, mds-*) flagged $status: futuredo not emit mds-* for live output; use the runtime --vars.
  • layout/grid.json (12-col MRow/MCol) + layouts.json (shells, regions, content layouts, panels).
  • foundation/ — page-by-page product coverage per layout element.
  • spec.manifest.json — file list + sizes + checksums.

Known gaps (the AI will STOP-and-ASK here)

Charts / data-viz / widget tiles / topology graph are not catalogued yet (only the chart tooltips are). Recipes flag these with a $gap marker.

Live visual catalogue

Storybook: https://niravbhatt1317.github.io/motadata-design-system/ — the pixel-accurate visual reference. It is not a data source; do not scrape it. The specs in this package are authoritative.

Versioning

Semver. Minor = added components/recipes/tokens · patch = fixes/clarifications · major = breaking spec-shape change. Pin a version to keep AI output reproducible.

Maintaining

This package is generated from the design-system sources — it is not hand-maintained file-by-file. Maintainers: see PUBLISHING.md in the design-system workspace for the build → validate → publish flow (bump version → scripts/build-spec-package.jsscripts/validate-spec.jsnpm publish).