This package has been deprecated

Author message:

WARNING: This project has been separated in two packages. Install get-changelog-cli (for CLI usage) or get-changelog-lib instead.

get-changelog

1.1.0 • Public • Published

get-changelog version license codecov

A CLI tool to easily find changelogs

Searching for changelogs before upgrade is often a time consuming task. The purpose of this tool is to simplify this search using common changelog locations.

How it works

  1. find git repository using npm registry
  2. find changelog in the repository (changelog, history or github versions)
  3. output results in the terminal

Install

npm install -g get-changelog

CLI Usage

Usage: get-changelog [options]

Options:
  -v, --version              output the version number
  -c, --check                check package.json upgrades using npm-check-updates
  -m, --module <moduleName>  get changelog for an npm module
  -o, --open                 open changelog url with the default browser (only usable with -m)
  --cache                    use cache to improve performances
  -h, --help                 display help for command

Examples

-m, --module

Module example

-c, --check

Check example

API usage

const ChangelogFinder = require('get-changelog');
 
(async () => {
    const changeLogFinder = new ChangelogFinder();
    const changelogUrl = await changeLogFinder.getChangelog('express');
    console.log(changelogUrl); // https://github.com/expressjs/express/blob/master/History.md
})();

LICENSE

MIT: LICENSE

Package Sidebar

Install

npm i get-changelog

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

184 kB

Total Files

21

Last publish

Collaborators

  • clement134