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

@epa-wg/cem-theme

v0.0.14

Published

Canonical [CEM](https://github.com/EPA-WG/cem) token specs, generated CSS, DTCG JSON, TypeScript metadata, native iOS/Android outputs, and Figma library files. [Token specs](./src/lib/tokens/index.md) in `src/lib/tokens/*.md` are the single source of trut

Readme

@epa-wg/cem-theme Consumer Semantic Material Theme

Canonical CEM token specs, generated CSS, DTCG JSON, TypeScript metadata, native iOS/Android outputs, and Figma library files. Token specs in src/lib/tokens/*.md are the single source of truth; copied Markdown specs are published under dist/lib/tokens/*.md so consumers and AI coding assistants can read version-matched semantic guidance from the installed npm package. See the prompt below.

npm version Downloads License

CEM elements lib POC | design tokens demo | Figma CEM UI Kit | Figma token workflow

Use the token CSS

The generated CSS exposes every CEM token as a CSS custom property on :root. Drop it into any page and consume tokens via var(--cem-...).

| File | When to use | |---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------| | dist/lib/css/cem-combined.css | Single concatenated file. One HTTP request — best for <link> and CDN delivery. | | dist/lib/css/cem.css | @import index over per-spec files (cem-colors.css, cem-dimension.css, …). Best when a tool resolves @import and you want tree-shaking. |

Via the npm package

yarn add @epa-wg/cem-theme
<link rel="stylesheet" href="node_modules/@epa-wg/cem-theme/dist/lib/css/cem-combined.css" />
// Bundlers that handle CSS imports
import '@epa-wg/cem-theme/dist/lib/css/cem-combined.css';

Prompt for applying CEM styling to an existing project

If @epa-wg/cem-theme is already installed as an npm dependency, use this prompt with a coding assistant:

Apply CEM theme styling to this existing project using the installed `@epa-wg/cem-theme` package.

Before changing styles, read the installed package-local AI instructions:
`node_modules/@epa-wg/cem-theme/dist/lib/tokens/cem-theme-ai-instructions.md`.

Follow that file's read order, token-selection rules, stylesheet setup, theme scoping, and verification checklist.
Prefer these installed Markdown docs over GitHub because they match the installed npm package version. Do not infer CEM
semantics from generated CSS values alone.

Via unpkg CDN (no install)

<!-- pin a specific version -->
<link rel="stylesheet" href="https://unpkg.com/@epa-wg/cem-theme@latest/dist/lib/css/cem-combined.css" />

<!-- or float to latest -->
<link rel="stylesheet" href="https://unpkg.com/@epa-wg/cem-theme@latest/dist/lib/css/cem-combined.css" />

The same paths work for individual specs, e.g. https://unpkg.com/@epa-wg/cem-theme@latest/dist/lib/css/cem-colors.css.

Primary exports

| Path | Contents | |---------------------------------------------------|-----------------------------------------------------| | @epa-wg/cem-theme | Theme entry (TypeScript). | | @epa-wg/cem-theme/tokens/cem.tokens.json | Canonical DTCG-compatible visual tokens. | | @epa-wg/cem-theme/tokens/cem.voice.tokens.json | Voice/audio metadata, separate from visual outputs. | | @epa-wg/cem-theme/tokens/cem.tokens.ts | Token names + metadata for docs/tests/autocomplete. | | @epa-wg/cem-theme/tokens/cem.tokens.report.json | Portability and skipped-token report. | | @epa-wg/cem-theme/tokens/figma/* | Native Figma library source files (one per mode). |

Consumers MUST NOT import debug artifacts (cem.tokens.intermediate.json, cem.tokens.resolved.json).

For AI-assisted styling work, start with dist/lib/tokens/cem-theme-ai-instructions.md. It points to the relevant token specs in dist/lib/tokens/*.md and explains how to choose semantic tokens before checking exact names and values in cem.tokens.ts, cem.tokens.json, or generated CSS.

Build & test

yarn build:theme                                # full theme build via Nx
nx run @epa-wg/cem-theme:build:css              # token CSS only
nx run @epa-wg/cem-theme:build:tokens           # JSON / TS / Figma exports (depends on build:css)
nx run @epa-wg/cem-theme:build:token-platforms  # iOS Swift + Android XML/Compose + per-mode JSON
nx run @epa-wg/cem-theme:test
nx run @epa-wg/cem-theme:lint

build:tokens depends on build:css. build:token-platforms depends on build:tokens.

Key paths

| Purpose | Path | |-----------------------------------------------|-------------------------------------| | Token specs (markdown source of truth) | src/lib/tokens/*.md | | AI styling instructions | dist/lib/tokens/cem-theme-ai-instructions.md | | Token specs (published Markdown guidance) | dist/lib/tokens/*.md | | Token specs (built XHTML, used by validators) | dist/lib/tokens/*.xhtml | | CSS generators | src/lib/css-generators/*.html | | Generated CSS | dist/lib/css/*.css | | Generated DTCG / TS / Figma | dist/lib/tokens/ | | iOS Swift output | dist/lib/token-platforms/ios/ | | Android Kotlin/XML output | dist/lib/token-platforms/android/ | | Per-mode flat JSON | dist/lib/token-platforms/json/ | | Pipeline scripts | scripts/ |

Related docs