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

npm-demo-changesets

v0.1.1

Published

Demo library showcasing Changesets automation

Readme

npm-demo-changesets

NPM Package

Demo library showcasing Changesets automation for NPM package publishing.

Features

  • ✅ Manual change declaration through changeset files
  • ✅ Collaborative changelog creation with CLI workflow
  • ✅ Flexible versioning control with developer input
  • ✅ Feature branch publishing with custom NPM dist-tags
  • ✅ Automatic cleanup of feature branch aliases

Usage

import { hello } from 'npm-demo-changesets';

console.log(hello('World')); // "Hello, World!"

Changesets Workflow

1. Make Your Changes

Make code changes as needed for your feature or fix.

2. Create a Changeset

npm run changeset

This will prompt you to:

  • Select the type of change (patch, minor, major)
  • Write a summary of the change
  • Generate a changeset file in .changeset/

3. Commit Everything

git add .
git commit -m "feat: add new feature with changeset"
git push

4. Release Process

  1. Changesets action creates/updates a "Version Packages" PR
  2. Review and merge the PR
  3. Package is automatically published to NPM

Feature Branches

Pushes to feature/** or feat/** branches publish pre-release versions with branch-specific NPM tags.

Example Scenarios

  1. Add Feature:

    # Make changes
    npm run changeset  # Select "minor", describe feature
    git add . && git commit -m "feat: add awesome feature"
  2. Fix Bug:

    # Make changes
    npm run changeset  # Select "patch", describe fix
    git add . && git commit -m "fix: resolve issue"
  3. Breaking Change:

    # Make changes
    npm run changeset  # Select "major", describe breaking change
    git add . && git commit -m "feat!: breaking API change"

Changesets Commands

  • npm run changeset - Create a new changeset
  • npm run version - Apply changesets and update version
  • npm run release - Publish to NPM

Benefits of Changesets

  • Explicit: Developers explicitly declare what changed
  • Collaborative: Multiple people can contribute to changelogs
  • Flexible: Full control over versioning decisions
  • Transparent: Clear audit trail of what's being released

Learn More

This demo repository is featured in the comprehensive guide: "The Ultimate Guide to NPM Release Automation: Semantic Release vs Release Please vs Changesets" - a detailed comparison of different NPM release automation tools with practical examples.