πͺ΅
changelogd
Aggressively find a packages changelog (or releases) between versions.
Status: Early Access Please report any issues Made possible by my Sponsor Program Follow me @harlan_zw |
Features
-
π³ Opportunistic API, multiple resolvers:npm-changelog
,github-changelog
,github-releases
-
π¦ Provide a diff of CHANGELOG's between versions, if found -
π± Otherwise, fetch release notes straight from Github -
π¦ Minimal network requests with caching enabled
CLI Usage
npx changelogd@latest <package> --from=<version> [--to=<version>]
Arguments:
package
: Package name to use. Should be the same as the package.json's name (NPM).from
: The release tag to read from.to
: The release tag to read to. Default:latest
Example
Fetching CHANGELOG.md from Github
npx changelogd@latest ohmyfetch --from 0.4.0
Fetching CHANGELOG.md from NPM
npx changelogd@latest consola --from 2.13.0
Fetching Github Releases
npx changelogd@latest nuxt-windicss --from 2.3.0
Node Usage
import { changelogd } from '@changelogd/core'
const fetchChangelogs = async () => {
const res = await changelogd('nuxt-windicss', '2.3.0')
return res.log
}
Sponsors
License
MIT License Β© 2022 Harlan Wilton