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

rankgoat

v0.2.0

Published

Official command-line interface for RankGoat. Manage your content plan, posts, backlinks and SEO data from the terminal.

Readme

RankGoat CLI

The official command-line interface for RankGoat, the SEO backlink exchange that writes and publishes done-for-you blog posts with real dofollow links between member sites.

Manage your content plan, generate posts, approve drafts, and read your backlink and SEO data straight from the terminal or a CI pipeline. Built on the public RankGoat API.

npm license

Install

npm install -g rankgoat

Or run it without installing:

npx rankgoat whoami

Requires Node.js 20 or newer. Zero runtime dependencies.

Authenticate

Create an API key at rankgoat.app/app/settings#api, then:

rankgoat auth login rg_live_xxxxxxxx

The key is stored in ~/.rankgoat/config.json (owner-readable only). Alternatively set RANKGOAT_API_KEY in your environment, or pass --api-key on any command, handy for CI.

export RANKGOAT_API_KEY=rg_live_xxxxxxxx
rankgoat whoami

Usage

rankgoat <command> [args] [options]

Account & sites

rankgoat whoami                     # member + sites with credit balances
rankgoat sites                      # list your sites
rankgoat sites get 123              # one site, full detail
rankgoat sites credits 123          # credit balance by bucket

Content plan

The monthly plan is a calendar of briefs the AI turns into posts.

rankgoat plan list 123 --month 2026-06
rankgoat plan add 123 --auto                       # let AI plan a brief (async)
rankgoat plan add 123 --title "Notion vs Obsidian" --keyword "notion alternatives" --type comparison --hub 5
rankgoat plan edit 789 --title "Notion vs Obsidian (2026)" --type guide
rankgoat plan schedule 789 2026-06-22
rankgoat plan archive 789
rankgoat plan restore 789
rankgoat plan generate 789 --wait                  # write the post now (spends 1 credit)

Posts

rankgoat posts list 123 --status draft
rankgoat posts get 456 --html                      # print the post body
rankgoat posts approve 456                          # approve a draft for publishing

Backlinks & SEO

rankgoat backlinks 123                              # inbound + outbound link graph
rankgoat seo authority 123                          # Domain Rating over time
rankgoat seo onpage 123
rankgoat seo sitemap 123
rankgoat seo gsc 123                                # Google Search Console performance

Content hubs

Topic clusters the monthly planner draws briefs from, weighted by priority.

rankgoat hubs list 123
rankgoat hubs add 123 --name "AI note-taking" --keywords "ai notes, ai note app" --priority high
rankgoat hubs edit 5 --priority low
rankgoat hubs archive 5                             # the planner stops drawing from it
rankgoat hubs restore 5

Product features

Your product's real capabilities. They ground content generation, so posts never invent features the product does not have.

rankgoat features list 123
rankgoat features add 123 --name "Offline sync" --description "Notes sync without a connection"
rankgoat features edit 7 --description "Now with conflict resolution"
rankgoat features archive 7                         # new posts stop mentioning it
rankgoat features restore 7

Jobs

Some actions (AI planning, post generation) run in the background and return a job handle. Poll it, or pass --wait on the original command:

rankgoat jobs plan-generate 789 --wait

Options

| Option | Description | | --- | --- | | --api-key <key> | Use this key (overrides env and saved config) | | --api-url <url> | Override the API base URL (defaults to https://rankgoat.app/api/v1) | | --json | Output raw JSON, ideal for scripting with jq | | --wait | Block until an async job finishes | | -h, --help | Show help | | -v, --version | Show the CLI version |

Scripting

Every command supports --json for machine-readable output:

rankgoat sites --json | jq '.sites[] | select(.status=="active") | .domain'

Exit code is non-zero on any API or usage error, so it composes cleanly in CI.

How RankGoat works

RankGoat members pay for done-for-you blog posts that get published on their own sites with dofollow outbound links to other members. The link graph is non-reciprocal and niche/DR-matched, so it builds real authority without pattern-matching as a scheme. Learn more at rankgoat.app or read the API reference.

License

MIT © RedStudio