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

solid-doctor

v0.1.0

Published

Static migration and correctness diagnostics for Solid 2.

Readme

solid-doctor

Static migration and correctness diagnostics for Solid 2.

This is an early scaffold focused on high-confidence, static-only findings. It deliberately does not try to replace eslint-plugin-solid, infer every reactive data-flow issue, or trace runtime performance.

Try it

npm install
npm run build
npx solid-doctor@latest /path/to/solid-project
node dist/cli.js /path/to/solid-project
node dist/cli.js /path/to/solid-project --json
node dist/cli.js /path/to/solid-project --diff origin/main...HEAD
node dist/cli.js /path/to/solid-project --write-baseline .solid-doctor-baseline.json
node dist/cli.js /path/to/solid-project --baseline .solid-doctor-baseline.json
node dist/cli.js migrate /path/to/solid-project
node dist/cli.js migrate /path/to/solid-project --apply
npx solid-doctor@latest ci install
npx solid-doctor@latest ci install --dry-run

ci install creates .github/workflows/solid-doctor.yml for pull-request scans. It refuses to overwrite an existing custom workflow unless --force is passed.

Rules

  • solid/migrate-legacy-import — replaces removed Solid 1 package exports with their Solid 2 locations. Safe auto-fix.
  • solid/migrate-removed-api — reports removed APIs such as createResource, Suspense, batch, and onMount, via named or namespace imports. Unused imports are not reported. These require semantic migration and are not auto-fixed.
  • solid/migrate-legacy-jsx — reports removed use:, on:, attr:, bool:, and classList syntax.
  • solid/config-jsx-runtime — validates explicit Solid 2 JSX configuration.
  • solid/reactive-props-destructure — warns on destructured props in likely Solid components, including body patterns such as const { count } = props.
  • solid/no-top-level-reactive-read — warns on direct top-level reads of props and known Solid accessors, while ignoring JSX, nested reactive computations, and seed idioms such as createSignal(props.open ?? true).
  • solid/no-server-only-in-client — reports imports of server-only modules (e.g. solid-js/server) in files reachable from a client entry. Reachability is computed over the full project graph.

Every rule has a confidence tier and fixability flag. The first semantic rules are intentionally conservative; a false-positive regression should fail the fixture suite before a rule is expanded.

Scanning strategy

Diff-scoped scans (--diff) report only findings in changed files, plus files a changed file imports directly for project-level rules. A change that makes a transitively distant file newly client-reachable is only caught by a full scan, so the recommended setup is:

  • Pull requests: diff scan, as installed by ci install (--diff base.sha...head.sha).
  • Main branch: full scan without --diff, so nothing escapes the one-hop policy.

Project direction

Migration warns when migrate detects Solid 1 dependencies because it intentionally targets Solid 2 and may rewrite imports that are valid in Solid 1. Planned additions are deeper store/async rules (optimistic-store writes, hydration discipline) once they can meet the same confidence standard; runtime tracing remains out of scope.

Baselines use exact fingerprints first, then a normalized code-site hash to survive unrelated line shifts. Older baselines containing only findings remain supported; newly written baselines also contain stableFindings.