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

@this-npm-test-org/connection-github

v0.0.2

Published

Access repositories, issues, pull requests, actions, and deployments.

Readme

GitHub

Access repositories, issues, pull requests, actions, deployments, growth insights and traffic analytics.

Install

amodal connect github

Authentication

Bearer token authentication.

  • GITHUB_TOKEN — Personal access token (classic) or fine-grained token

Token scopes determine access: repo for private repos, public_repo for public only. Fine-grained tokens can be scoped to specific repositories.

Endpoints

Repositories

  • GET /repos/:owner/:repo — Get repository details
  • GET /repos/:owner/:repo/commits — List commits
  • DELETE /repos/:owner/:repo — Delete a repository (disabled)

Issues

  • GET /repos/:owner/:repo/issues — List issues
  • POST /repos/:owner/:repo/issues — Create an issue (confirmation)
  • PATCH /repos/:owner/:repo/issues/:issue_number — Update an issue (confirmation)
  • POST /repos/:owner/:repo/issues/:issue_number/comments — Add comment (confirmation)

Pull Requests

  • GET /repos/:owner/:repo/pulls — List pull requests
  • POST /repos/:owner/:repo/pulls — Create a pull request (confirmation)
  • GET /repos/:owner/:repo/pulls/:pull_number — Get PR details
  • PUT /repos/:owner/:repo/pulls/:pull_number/merge — Merge a PR (confirmation)

Actions

  • GET /repos/:owner/:repo/actions/runs — List workflow runs
  • GET /repos/:owner/:repo/actions/runs/:run_id — Get workflow run details
  • POST /repos/:owner/:repo/actions/runs/:run_id/rerun — Re-run a workflow (confirmation)

Deployments

  • GET /repos/:owner/:repo/deployments — List deployments

Growth & Insights

  • GET /repos/:owner/:repo/stargazers — List stargazers (timestamps via Accept header)
  • GET /repos/:owner/:repo/forks — List forks
  • GET /repos/:owner/:repo/traffic/views — Get page views (14-day window)
  • GET /repos/:owner/:repo/traffic/clones — Get clones (14-day window)
  • GET /repos/:owner/:repo/traffic/popular/referrers — Get top referral sources
  • GET /repos/:owner/:repo/traffic/popular/paths — Get popular content paths
  • GET /repos/:owner/:repo/releases — List releases
  • GET /repos/:owner/:repo/releases/latest — Get latest release
  • GET /repos/:owner/:repo/contributors — List contributors

Search

  • GET /search/issues — Search issues and PRs
  • GET /search/code — Search code

Entities

  • repo, issue, pull, merge, stargazer, fork, traffic, release, contributor

Rules

  • Authenticated rate limit: 5,000 requests/hour; Search API: 30 requests/minute
  • Issues and PRs share the same number namespace — the issues endpoint returns both (filter by pull_request field presence)
  • Draft PRs cannot be merged — must be marked as ready first
  • mergeable field may be null while GitHub computes mergeability — poll until non-null
  • Traffic endpoints require push access; data available for the last 14 days only
  • Stargazers timestamps require Accept: application/vnd.github.star+json header
  • Contributors endpoint may be slow for large repos (GitHub returns 202 while computing)