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

@cosla/sensemaking-report-ui

v0.1.2

Published

Lightweight standalone HTML report builder without Angular.

Readme

report_ui

Lightweight report builder that generates a standalone report.html. This is based off the @cosla/sensemaking-web-uisen package but does not require Angular.

CLI usage

npx sensemaking-report-ui inline \
  --topics ./input/topic-stats.json \
  --summary ./input/summary.json \
  --comments ./input/comments.json \
  --metadata ./input/metadata.json \
  --reportTitle "My Report" \
  --outputDir ./output \
  --outputFile report.html

You can also run from this workspace directly:

npm run build -- inline --inputDir ./fixtures/happy-path --outputDir ./output

Supported options

  • --topics: path to topic-stats.json (default: <inputDir>/topic-stats.json)
  • --summary: path to summary.json (default: <inputDir>/summary.json)
  • --comments: path to comments.json (default: <inputDir>/comments.json)
  • --metadata: path to metadata.json (default: <inputDir>/metadata.json)
  • --reportTitle: optional title override (falls back to metadata title)
  • --inputDir: base input directory (default: ./input)
  • --outputDir: output directory (default: ./output)
  • --outputFile: filename or path for final html (default: report.html)

Fixtures and smoke tests

Fixtures are in fixtures/:

  • happy-path
  • empty-dataset
  • missing-field

Run smoke checks:

npm run smoke

This validates:

  • successful builds for happy-path and empty-dataset (output under smoke-output/<fixture>/report.html),
  • output HTML includes the About this report section marker,
  • missing-field fails with a clear validation error (topics string).

Parity checklist against Angular standalone report

  • [x] Single-file standalone HTML output (CSS, JS, and viz assets inlined).
  • [x] Core report sections:
    • About this report (summary copy, alignment definitions, metrics)
    • Conversation overview (topics-overview chart)
    • Participant alignment (high / low / uncertainty toggles)
    • Topics identified badge and per-topic cards (breakdown, chart, subtopic accordions)
    • Subtopic panels (breakdown, themes, high / low / uncertainty statement groups, view-all)
  • [x] Charts via inlined @cosla/sensemaker-visualizations (sensemaker-chart):
    • topics-overview on conversation overview
    • topic-alignment with Groupings / Statements (solid / waffle) per topic
  • [x] Interaction baseline:
    • Side nav (details / summary) with topic and subtopic links
    • In-page anchor scroll (overview, topics, subtopics)
    • Share dialog and copy link
    • Statement card tooltips (including inside the statements dialog)
    • Centered statements dialog for “View all statements” (grouped like the Angular drawer)
  • [~] Visual style: lightweight CSS approximating layout and colors; not full Angular Material parity (typography, icons, breakdown widgets, etc.).
  • [~] Threshold / help microcopy: main section copy and tooltips match Angular; minor gaps may remain (e.g. per-section share buttons, overview breakdown icons).

Publishing notes

This package is structured for npm publishing:

  • CLI exposed via bin as sensemaking-report-ui.
  • Runtime dependency on @cosla/sensemaker-visualizations (UMD + CSS copied in at build time).
  • files whitelist includes only runtime artifacts, fixtures, and docs.
  • Breaking input-contract changes should use semver major bumps.