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

codeward

v0.1.0

Published

CodeWard's precommit checker for AI-agent-driven codebases: test, lint, format, security, screenshot-diff, lighthouse, and AI review — fast, cached, and scoped to what changed.

Downloads

207

Readme

codeward

CodeWard's precommit checker for AI-agent-driven codebases. Runs test, lint, format, security, screenshot-diff, lighthouse, and AI review against exactly what changed — fast, cached, and terse: a few precise, actionable lines, blockers first.

$ codeward check
2 blocker(s)  1 warning(s)  0 suggestion(s)

[BLOCKER] test: 1 test failed — FAILED tests::checkout_rejects_expired_card
[BLOCKER] security: possible AWS access key committed (src/config.ts:14)

[WARNING] lint: 3 unused imports

skipped: ai-review (requires login — run `codeward login`)

Install

curl -fsSL https://codeward.ai/install.sh | sh

Or, if you already have Node:

npx codeward check

Or grab a binary from Releases. No Rust toolchain required.

Usage

codeward check [--json] [--skip-<rule> ...]
codeward login          # email one-time code; unlocks screenshot-diff, lighthouse, ai-review
codeward logout
codeward status
codeward upgrade        # enter your email, we send a Stripe checkout link — no login required
codeward init            # write a starter codeward.toml
codeward install-hooks   # run `codeward check` automatically on every commit

codeward check auto-detects your project (Node, Rust, Python, Go — including your package manager and existing lint/format:check/test scripts) and picks sensible default checks. Nothing to configure to get useful output on a fresh repo.

Scope is the changed files: staged changes if you have any, otherwise your full working-tree diff, otherwise the diff against the repo's default branch. Any rule — built-in or one you define in codeward.toml — can be skipped ad hoc:

codeward check --skip-test --skip-lint

Configuration

Drop a codeward.toml anywhere from your repo root upward (codeward init writes a starter with every option commented out):

[checks.test]
enabled = true
command = "npm test"        # override the auto-detected command

[checks.screenshot]
enabled = true
command = "npm run screenshots:check"   # paid checks need an explicit command

[scope]
base = "origin/main"        # branch to diff against when nothing is staged

[cache]
enabled = true

Development

cargo test
cargo clippy --all-targets -- -D warnings
cargo fmt --check
cargo audit           # cargo install cargo-audit, if you don't have it yet

One-time setup: git config core.hooksPath .githooks points git at this repo's own commit-msg hook, which runs all four of the above (plus a conventional-commit subject check: <type>(<scope>): <description>) on every commit — Rust doesn't have an npm-style prepare script to do this automatically. Each check is individually skippable with a SKIP_<NAME>=<reason> line in the commit message (SKIP_CONVENTIONAL, SKIP_FORMAT, SKIP_LINT, SKIP_TESTS, SKIP_SECURITY).

Releases are cut by pushing a vX.Y.Z tag; CI cross-builds and publishes binaries for Linux/macOS/Windows (x86_64 + aarch64) to GitHub Releases, then publishes the codeward npm package (which downloads the matching binary on install) once that finishes.