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

@tomjerrygit/dsh-workspace-audit

v1.2.0

Published

Stable local-first workspace health audit for DeepSeek Harness: Git, tests, CI, size, security hotspots, baselines, and bilingual handover reports.

Readme

@tomjerrygit/dsh-workspace-audit

Local-first workspace health audit for DeepSeek Harness. Read-only by design; no code is uploaded and no LLM call is required.

Status

1.2.x is stable for Windows and Linux. macOS is experimental/untested. This is an engineering hygiene check, not a professional security audit.

What it checks

  • Git: repository, remote, branch, dirty count, last commit, tags
  • Project: README, LICENSE, .gitignore, manifests, lockfiles, tests, docs, CI
  • Dependencies: manifests/lockfiles, unpinned requirements, npm audit/pip-audit when available
  • GitHub: latest release vs local tag, open issues, archived state, branch protection (public repos)
  • Onboarding: inferred install/test/run commands (npm test, pytest, cargo test, etc.)
  • Size: source/scan size and known build/cache directories
  • Security hotspots: self-hosted runner triggered by pull_request, suspected key filenames (names only), shell=True/exec/pickle.load patterns
  • Score v2: weighted by detected project type (app/library/plugin/data), with per-dimension deductions; P0 caps the total at 59.
  • Dependency audit is offline by default; npm audit/pip-audit/pnpm audit/yarn audit/cargo audit and GitHub API run only after explicitly enabling network checks.
  • Workspace-specific .workspace-audit.json supports ignore rules, accepted risks, expiry dates, and project-type overrides.
  • Baseline snapshots and background scan jobs with progress/cancel.
  • Bilingual (Chinese/English) UI, reports, risk explanations, and handover documents.
  • Markdown/HTML/JSON exports, print-to-PDF, and an average-score trend chart.
  • False-positive reporting link opens a prefilled GitHub issue template.
  • P0 findings cap the overall score at 59 so a high raw score cannot hide a blocking risk.
  • Git commands run with core.fsmonitor=false and core.untrackedCache=false; untracked secret filenames are included.
  • Failures, Git availability, scan duration, and offline state are shown in the panel.
  • Risks: P0/P1/P2 list, risk filters, project comparison table, score history sparkline, HTML export, and a Markdown handover report

Documentation

Workspace configuration

Create .workspace-audit.json in a project root:

{
  "projectType": "app",
  "ignore": ["todo", "branch-protection"],
  "accept": [
    { "rule": "self-hosted-pr", "reason": "internal runner only", "until": "2026-12-31" }
  ]
}
  • ignore hides a rule from active risks.
  • accept keeps the risk in the report but removes it from active risks and the P0 cap.
  • until is optional; after that date the acceptance expires.
  • projectType can be app, library, plugin, or data.

Baseline and scan jobs

  • Set baseline stores the current scores and active risk IDs.
  • Later scans show score delta, new risks, and resolved risks.
  • Scans start as background jobs; the panel shows completed/total progress and a cancel button.
  • Partial results are returned when a scan is cancelled.

Handover, reports and localization

  • Download handover: generates START_HERE.md with run/test commands, files to read first, and current risks.
  • Markdown / HTML / JSON export: localized report, machine-readable scan JSON, and comparison table.
  • Export PDF: opens a print-ready report; use the browser's Save as PDF.
  • Report false positive: opens the GitHub issue form prefilled with the plugin version context.
  • Average score trend: chart over saved scan history.
  • Chinese/English: UI labels, dimensions, risk text, reports, and handover documents follow the browser locale.

Tests

node --test test/audit.test.mjs test/routes.test.mjs
node test/browser-smoke.mjs
node test/soak.mjs

The unit suites cover scanner rules, config suppression, project typing, secrets, dependencies, GitHub classification, host routes, jobs, baseline, health, and Git hardening. The browser smoke boots the real client.js with local React UMD files, then checks rendering, risk filters, failures and export controls without network access.

Install

dsh plugin --profile web add @tomjerrygit/dsh-workspace-audit

Market index:

https://tomjerrygit.github.io/dsh-workspace-audit/index.json

Usage

Open Workspace Audit in the left sidebar, add workspace paths if needed, and run the audit. The report can be copied or downloaded as Markdown.

This is an engineering hygiene check, not a professional security audit. Suspected secret files are reported by filename only; contents are not read.