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

storybook-addon-changelog-v8

v0.2.0

Published

Storybook addon that supports viewing CHANGELOG.md files in the Storybook v8 UI

Readme

Storybook Changelog Addon

A Storybook addon that displays changelog files as a tab in the Storybook UI. Inspired by storybook-addon-changelog-viewer but with enhanced parsing and styling.

Features

  • 📝 Display changelog files in a dedicated Storybook tab
  • 🎨 Beautiful, responsive UI with table of contents
  • 📊 Summary statistics (versions, total changes)
  • 🔍 Automatic parsing of standard changelog formats
  • 🎯 Smooth scrolling navigation
  • 🌙 Automatic light/dark theme support
  • ✨ Support for all standard changelog types (Added, Changed, Fixed, etc.)

Installation

npm install storybook-addon-changelog --save-dev
# or
yarn add storybook-addon-changelog --dev

Setup

  1. Add the addon to your .storybook/main.js:
module.exports = {
  addons: [
    // other addons...
    'storybook-addon-changelog',
  ],
};
  1. Import your changelog file and add it to story parameters:
import changelog from './CHANGELOG.md';

export default {
  title: 'Example/Button',
  component: Button,
  parameters: {
    changelog: changelog,
  },
};

Usage Examples

Component-level changelog

// Button.stories.js
import changelog from './CHANGELOG.md';

export default {
  title: 'Components/Button',
  component: Button,
  parameters: {
    changelog: changelog,
  },
};

Global changelog

You can also set a global changelog in .storybook/preview.js:

// .storybook/preview.js
import changelog from '../CHANGELOG.md';

export const parameters = {
  changelog: changelog,
};

Story-specific changelog

Override the changelog for specific stories:

export const SpecialButton = {
  args: { variant: 'special' },
  parameters: {
    changelog: specialButtonChangelog,
  },
};

Changelog Format

The addon supports standard changelog formats. Here's an example:

# Component Changelog

## [2.1.0] - 2024-01-15

### Added
- New `variant` prop with support for primary, secondary, and danger styles
- Loading state with spinner animation
- Keyboard navigation improvements

### Changed
- Updated default padding for better visual balance
- Improved hover and focus states

### Fixed
- Fixed accessibility issues with screen readers
- Resolved button text overflow in small containers

## [2.0.0] - 2023-12-01

### Added
- TypeScript support with full type definitions
- New size variants: small, medium, large

### Changed
- **BREAKING**: Renamed `type` prop to `variant`
- Updated color palette to match design system

### Removed
- **BREAKING**: Removed deprecated `color` prop

### Fixed
- Fixed button not respecting disabled state in forms

Supported Change Types

The addon recognizes and styles these change types:

  • Added - New features
  • 🔄 Changed - Changes in existing functionality
  • ⚠️ Deprecated - Soon-to-be removed features
  • 🗑️ Removed - Removed features
  • 🐛 Fixed - Bug fixes
  • 🔒 Security - Security improvements

Development

To develop this addon:

# Install dependencies
npm install

# Start Storybook
npm run storybook

# Build the addon
npm run build

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT