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

blend-telemetry

v0.2.1

Published

Telemetry CLI for @juspay/blend-design-system component usage — language-aware scanner for ReScript and TypeScript projects

Readme

blend-telemetry

CLI tool to scan any project using @juspay/blend-design-system and produce a detailed report of component adoption, prop usage, file breakdown, and migration metrics.

Supports both TypeScript and ReScript projects.

Installation

npm install -g blend-telemetry
# or
npx blend-telemetry --dir ./your-project

Usage

# Scan a project directory
blend-telemetry --dir /path/to/your/project

# Scan the current directory
blend-telemetry

# Output as JSON
blend-telemetry --dir . --reporter json

# Quiet mode (no console output)
blend-telemetry --dir . --quiet

What it reports

  • Adoption Rate — how many of the available Blend components are actually used
  • Component Usage — per-component usage counts, prop breakdown, variant distribution, file locations
  • Never Used — components available in the installed version but not used at all
  • File Breakdown — which files use Blend and which components they import
  • Migration Status (ReScript projects only) — tracks adapter pattern files (isBlendEnabled), direct usage files, and wrapper files
  • HTML Report — opt-in via --reporter html or by adding "html" to reporters in config; written to .blend-telemetry/report.html, opens directly from the terminal link

HTML Report

When "html" is included in reporters (via --reporter html or config), a full interactive HTML report is written to .blend-telemetry/report.html inside your project. The terminal prints a clickable link to open it directly.

The report has five tabs:

| Tab | Contents | | --------------------------- | ---------------------------------------------------------------------------------------------- | | Overview | Stat cards + adoption & usage charts | | Components | Searchable table, never-used grid, per-component prop & variant detail | | Files | File-by-file breakdown with component lists | | Blend Files / Migration | TS: files using Blend with stats · RS: migration status with adapter/direct/wrapper file lists | | Info | Scan metadata |

Configuration

Create a .blendrc.json in your project root to customise behaviour:

{
    "scanDirs": ["src", "app"],
    "outputDir": ".blend-telemetry",
    "reporters": ["console"]
}

| Field | Default | Description | When to use | | ------------- | --------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | | scanDirs | entire project | Folders to scan for Blend component usage | Set to ["src"] or ["src", "app"] if your project is large and you want to skip irrelevant directories to make scans faster | | outputDir | .blend-telemetry | Folder where the HTML/JSON report is written | Change this if you want reports in a different location, e.g. "reports" | | reporters | ["console"] | Array of output formats — "console", "json", "html" (or multiple) | Set to ["json"] for machine-readable output, or ["console", "json"] to run multiple reporters | | packageName | blend-design-system | The npm package name to scan for | Only change this if your project uses a fork or re-export of Blend under a different package name |

Requirements

  • Node.js >= 18
  • Project must have @juspay/blend-design-system installed (or declared in package.json)