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

@milesight/changelog

v1.0.0

Published

Changesets changelog generator with Conventional Commits support and i18n

Downloads

72

Readme

@milesight/changelog

A Changesets changelog generator with Conventional Commits support and built-in i18n.

npm version license

Features

  • Conventional Commits — Parses type(scope)!: description format and maps each type to an emoji automatically
  • i18n — Ships with English and Chinese locales; configurable via .changeset/config.json
  • Custom types — Extend or override the built-in commit type set per project
  • Rich summary formats — Supports single-line, title + details, and multiple independent entries
  • Dual output — Ships both CJS (dist/index.js) and ESM (dist/index.mjs) builds

Installation

# npm
npm add -D @milesight/changelog

# pnpm
pnpm add -D @milesight/changelog

# yarn
yarn add -D @milesight/changelog

Usage

Set changelog in your .changeset/config.json:

{
  "changelog": ["@milesight/changelog", { "locale": "en" }]
}

That's it. Run changeset version as usual — changelogs are generated automatically.

Options

| Option | Type | Default | Description | | ------------- | ---------------------------------------- | ------- | ------------------------------------------------ | | locale | "en" \| "zh" | "en" | Display language for type labels and UI strings | | customTypes | Record<string, TypeConfig> | — | Additional or overriding commit types |

TypeConfig

interface TypeConfig {
  /** Emoji to display for this commit type */
  emoji: string;
  /**
   * Localized labels keyed by locale code.
   * Falls back to the English label, then the type key itself.
   */
  labels?: Partial<Record<'en' | 'zh', string>>;
}

Built-in Commit Types

| Type | Emoji | English Label | Chinese Label | | ---------- | ----- | ------------- | ------------- | | feat | ✨ | New Feature | 新特性 | | fix | 🐛 | Bug Fix | 问题修复 | | perf | ⚡ | Performance | 性能优化 | | refactor | ♻️ | Refactor | 代码重构 | | docs | 📝 | Documentation | 文档 | | style | 💅 | Style | 样式 | | test | ✅ | Tests | 测试 | | build | 🏗️ | Build | 构建 | | ci | 👷 | CI/CD | CI/CD | | chore | 🔧 | Chore | 杂项 | | revert | ⏪ | Revert | 回退 |

Unrecognised types fall back to 📦.

Custom Types

Add project-specific commit types via customTypes:

{
  "changelog": [
    "@milesight/changelog",
    {
      "locale": "zh",
      "customTypes": {
        "release": {
          "emoji": "🚀",
          "labels": { "en": "Release", "zh": "正式发布" }
        },
        "security": {
          "emoji": "🔒",
          "labels": { "en": "Security", "zh": "安全修复" }
        }
      }
    }
  ]
}

Custom types are merged with the built-in set. If a key already exists (e.g. feat), the custom entry takes precedence.

Changeset Summary Formats

The generator supports four summary formats:

1. Single title

fix: resolve null pointer in form submit

2. Title + details

feat: add theme token system
- supports light/dark variable sets
- exposes getCSSVariable helper

3. Multiple independent titles

feat: add useTheme hook
fix: correct focus ring on Safari

4. Multiple titles each with details (blank line as separator)

feat: add useTheme hook
- supports ThemeProvider injection
- reactive to system preference

fix: correct focus ring on Safari
- affected input and button components

Output Example

Given a changeset with the summary above, the generated changelog entry looks like:

- ✨ add useTheme hook
  - supports ThemeProvider injection
  - reactive to system preference

- 🐛 correct focus ring on Safari
  - affected input and button components

i18n

Switch to Chinese by setting "locale": "zh":

{ "changelog": ["@milesight/changelog", { "locale": "zh" }] }

Breaking change markers and dependency update messages will then appear in Chinese:

- ✨ 重新设计 API 接口 **[破坏性变更]**
- 📦 依赖 `lodash` 升级至 `4.18.0`

License

MIT © Milesight