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

@neorayden/opengov

v1.3.0

Published

OpenGov project - Open government data and transparency platform

Readme

OpenGov

Open government data and transparency platform.

GitHub Actions - Automatic Versioning & Deployment

This project is set up with automatic versioning and deployment using GitHub Actions.

How It Works

  1. CI Workflow (.github/workflows/ci.yml)

    • Runs on every push to main/master/develop branches
    • Runs on pull requests
    • Tests your code across multiple Node.js versions
    • Runs linter and build scripts
  2. Version Bump Workflow (.github/workflows/version-bump.yml)

    • Automatically creates a Git tag when package.json version changes
    • Triggers when you push changes to package.json on main/master branch
  3. Release Workflow (.github/workflows/release.yml)

    • Triggers when a version tag is created (e.g., v1.0.0)
    • Automatically:
      • Updates package.json version
      • Runs tests
      • Builds the project
      • Publishes to npm (if NPM_TOKEN secret is configured)
      • Deploys to Vercel (if VERCEL_TOKEN secret is configured)
      • Creates a GitHub Release with deployment URL

Usage

Option 1: Manual Version Bump (Recommended)

  1. Update the version in package.json:

    {
      "version": "1.0.0"
    }
  2. Commit and push:

    git add package.json
    git commit -m "chore: bump version to 1.0.0"
    git push
  3. The workflow will automatically create a tag and trigger the release.

Option 2: Create Tag Manually

  1. Create and push a tag:

    git tag -a v1.0.0 -m "Release version 1.0.0"
    git push origin v1.0.0
  2. The release workflow will automatically:

    • Extract the version from the tag
    • Update package.json
    • Build, test, and publish

Option 3: Use GitHub Actions UI

  1. Go to Actions → Release workflow
  2. Click "Run workflow"
  3. Enter the version number (e.g., 1.0.0)
  4. Click "Run workflow"

Setup Requirements

For npm Publishing (Optional)

If you want to publish to npm:

  1. Create an npm account (if you don't have one): https://www.npmjs.com/signup

  2. Create an npm access token:

    • Go to: https://www.npmjs.com/settings/[your-username]/tokens
    • Click "Generate New Token"
    • Select "Automation" type
    • Copy the token
  3. Add it as a GitHub secret:

    • Go to: https://github.com/neorayden/OpenGov/settings/secrets/actions
    • Click "New repository secret"
    • Name: NPM_TOKEN (exact name, case-sensitive)
    • Value: Your npm token
    • Click "Add secret"

Note: Your package name is @neorayden/opengov. Make sure your npm username matches neorayden, or update the package name in package.json to match your username.

See SETUP_NPM.md for detailed instructions.

For Vercel Deployment (Required for automatic deployments)

IMPORTANT: Add your Vercel token as a GitHub secret:

  1. Go to: https://github.com/neorayden/OpenGov/settings/secrets/actions
  2. Click "New repository secret"
  3. Name: VERCEL_TOKEN
  4. Value: 94CfYX9PlkfjCnYNwcOW9iCS
  5. Click "Add secret"

The workflow will automatically:

  • Create/link the Vercel project on first deployment
  • Deploy to Vercel production on each release
  • Include the deployment URL in the GitHub Release notes

Version Format

Use Semantic Versioning:

  • MAJOR.MINOR.PATCH (e.g., 1.0.0)
  • Tags should be prefixed with v (e.g., v1.0.0)

Customization

Edit the workflow files in .github/workflows/ to:

  • Change Node.js versions
  • Add/remove build steps
  • Modify deployment targets
  • Adjust test commands

Scripts

Update the scripts in package.json:

  • test: Your test command
  • lint: Your linter command
  • build: Your build command