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

ai-changelog-action

v1.0.0

Published

GitHub Action that generates AI-powered changelogs from merged PRs when a release is created

Readme

ai-changelog

CI TypeScript License: MIT

GitHub Action that generates changelogs from your merged pull requests using AI. Runs when a release is published, reads all PRs since the last release, and produces a structured changelog.

on:
  release:
    types: [published]

jobs:
  changelog:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: ofershap/ai-changelog@v1
        with:
          api-key: ${{ secrets.OPENAI_API_KEY }}
          provider: openai
          model: gpt-4o-mini
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Supports OpenAI and Anthropic. Transforms raw PR titles and metadata into readable release notes. No SDK dependencies, just native fetch.

GitHub Action for AI-generated changelogs from pull requests

Demo built with remotion-readme-kit

Why

Writing changelogs is one of those tasks that everyone agrees is important but nobody wants to do. GitHub has built-in auto-generated release notes, but they're just a list of PR titles, which is barely better than git log. This action reads your merged PRs, sends them to an AI model, and gets back a properly categorized changelog with human-readable descriptions. It groups changes into Features, Bug Fixes, Breaking Changes, and whatever other categories you define. You can have it update the GitHub Release body automatically, so publishing a release is all it takes to get a proper changelog.

Usage

Add the action to a workflow that runs on release: published:

name: Generate Changelog

on:
  release:
    types: [published]

jobs:
  changelog:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: ofershap/ai-changelog@v1
        with:
          api-key: ${{ secrets.OPENAI_API_KEY }}
          provider: openai
          model: gpt-4o-mini
          categories: "Features,Bug Fixes,Breaking Changes,Other"
          update-release: "true"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Inputs

| Input | Required | Default | Description | | ---------------- | -------- | ------------------------------------------- | ------------------------------------------------- | | provider | No | openai | AI provider: openai or anthropic | | model | No | gpt-4o-mini | Model to use (e.g. gpt-4o, claude-3-haiku) | | api-key | Yes | | API key for the AI provider | | categories | No | Features,Bug Fixes,Breaking Changes,Other | Comma-separated changelog categories | | update-release | No | true | Update the GitHub Release body with the changelog |

Outputs

| Output | Description | | ----------- | ---------------------------- | | changelog | The generated changelog text |

How It Works

  1. Runs when a new GitHub Release is published.
  2. Uses the GitHub API to list merged PRs since the previous release.
  3. Builds a text summary of PR numbers, titles, authors, and labels.
  4. Sends the summary to OpenAI or Anthropic with a changelog system prompt.
  5. Optionally writes the generated changelog to the release body.

Supported Providers

| Provider | Models (examples) | API Key Secret | | ------------- | ------------------------------------ | ------------------- | | OpenAI | gpt-4o-mini, gpt-4o, gpt-4 | OPENAI_API_KEY | | Anthropic | claude-3-haiku, claude-3-sonnet | ANTHROPIC_API_KEY |

Example Output

## Features

- Added dark mode support for the dashboard (#42)
- New `--dry-run` flag for migrations (#38)

## Bug Fixes

- Fixed memory leak in WebSocket handler (#41)
- Resolved timezone handling for scheduled tasks (#39)

## Other

- Updated dependencies (#40)

AI DevOps Suite

Part of the AI DevOps suite:

  • ai-commit-msg: AI-generated conventional commit messages
  • ai-pr-reviewer: AI-powered PR review comments
  • ai-label-pr: Auto-label PRs by size and type
  • ai-changelog: AI-generated changelogs from merged PRs (this project)

Development

npm install
npm run typecheck
npm run build
npm test
npm run lint

Author

Ofer Shapira

LinkedIn GitHub

License

MIT © Ofer Shapira