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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@pubinfo/changelog

v1.0.5

Published

Generate Beautiful Changelogs using Conventional Commits

Downloads

11

Readme

changelog

npm version Node.js Version pnpm version TypeScript version License: MIT

Quick Start

生成 Markdown 格式的变更日志并显示在控制台中:

npx @pubinfo/changelog --view

生成变更日志,修改 package.json 中的版本并更新 CHANGELOG.md

npx @pubinfo/changelog

第一次更新,会自动抓取第一次commitId作为from起始位,默认会抓取最后一次提交的tag作为to结束位

npx @pubinfo/changelog

CLI Usage

npx @pubinfo/changelog [...args] [--dir <dir>]

Arguments:

  • --from: 开始提交参考。如果未提供,则默认使用倒数第二次提交的tag信息.
  • --to: 结束提交参考。如果未提供,HEAD 中的最新提交的tag将用作默认值.
  • --dir: git 存储库的路径。如果未提供,则默认使用当前工作目录.
  • --clean: 判断工作目录是否干净,如果不干净则退出,默认使用true.
  • --output: 要创建或更新的更改日志文件名。默认为“CHANGELOG.md”并相对于目录解析。使用--view仅写入控制台。.