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

@rmartz/bot-automerge

v2.0.15

Published

Enables GitHub-native auto-merge for trustworthy bot pull requests (Dependabot patch/minor bumps and release-please release PRs), distributed via rmartz/bot-automerge-action.

Readme

@rmartz/bot-automerge

The eligibility enabler for trustworthy bot pull requests, packaged so a repo can turn on GitHub's native auto-merge for the bot PRs it trusts. bot-automerge classifies a bot PR — Dependabot patch/minor bumps and release-please release PRs — and, when the PR is eligible, runs gh pr merge --auto --squash to enable native auto-merge. It is the counterpart to @rmartz/merge-safety, which computes the pre-auto-merge safety verdict: where merge-safety answers "is it safe to merge?", bot-automerge answers "is this a bot PR we trust enough to enable auto-merge on?". Unlike merge-safety, it posts no check-run.

It is distributed the same way @rmartz/repo-hygiene and @rmartz/merge-safety are — the package lives here, and consumers reach it through a separate action repo:

  1. Updates propagate automatically. Consuming repos pin rmartz/bot-automerge-action by SHA; Dependabot's github-actions ecosystem opens PRs to bump that pin. The action pins this package's version in its own package.json, bumped by Dependabot's npm ecosystem, so a new CLI release reaches consumers as an action release.
  2. No check-run contract. bot-automerge is purely an eligibility enabler — it requires no fleet-wide status-check name. See docs/bot-automerge-contract.md.

Status: implemented. The enable classification — Dependabot patch/minor bumps and release-please release PRs — shipped in v0.1.0, the first release to GitHub Packages. See docs/bot-automerge-contract.md for the eligibility contract.

Using it in a consuming repo

Use rmartz/bot-automerge-action — its consumer guide has the caller workflow, its permissions, and the merge-safety prerequisite. This repo no longer ships a reusable workflow; see docs/consuming.md for what that means for existing callers.

Require merge-safety + your CI checks on the default branch before adopting it. gh pr merge --auto merges a PR immediately if the repo has no required status checks — bot-automerge only makes a bot PR eligible to auto-merge; the repo's required checks are what it waits on.

Requirements

  • Node.js >= 20.11
  • pnpm 9 (pinned via packageManager)

Consuming repos need neither — rmartz/bot-automerge-action runs the published CLI on a GitHub-hosted runner.

Local development

pnpm install
pnpm run build        # tsup → dist (ESM + d.ts)
pnpm run typecheck
pnpm run lint
pnpm run format:check
pnpm run test         # vitest

Releases

Versioned by semantic-release, run through the fleet's shared rmartz/semantic-release-ci workflow. A push to main analyzes the Conventional-Commit history since the last bot-automerge-v* tag and, when a release is warranted, publishes the package to npmjs (public, via OIDC trusted publishing with provenance — no npm token) and creates the git tag + GitHub Release. The package is published before the tag is pushed, so a failed publish never leaves a tag with no package. Versions up to 0.2.1 were published to GitHub Packages and stay there for existing pins; new versions go to npmjs only. bot-automerge-v1.0.0 is a tag with no package (its publish failed after tagging); use 1.0.1 or later. There is no release PR and no commit-back, so the built-in GITHUB_TOKEN suffices. tagFormat stays bot-automerge-v${version} for continuity with the prior release-please tags. The shared release-check / release-check check validates the semantic-release config (that commits analyze and the changelog renders) on every PR, so a broken release setup is caught before merge rather than on the post-merge release run.


🤖 Created by Claude Opus 4.8