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

ghif

v1.0.0

Published

An issues formatter for Github's gh CLI issues

Downloads

0

Readme

ghif, an issues formatter for Github's gh CLI issues

Maintaining a project's changelog shouldn't be a chore yet it often ends up being one of having to repetitively cut and paste from our Github issues into our project's changelog and then having to format everything in a consistent manner.

ghif is a simple command line utility that can dramatically reduce the chore of manually maintaining your project's changelog. ghif requires a single terminal command that retrieves a list of issues from your project's Github repository using Github's CLI gh issue list command and pipes the output from that into ghif, which formats the issues according to the options that you provide and then sends the formatted output to stdout.

ghif gives you the option to format its output in either plain text

ghif

or to markdown

ghif --markdown-unordered-list

which should suffice most use cases.

Installation

* Requires Github CLI

npm i -g 4awpawz/ghif

Output Examples

Output issues as plain text

#98: Unresolved token reporting drops the last closing brace for include tokens. [bug, revision]
#97: Log warning to the console if user project does not have a 404.html document. [feature, revision]
#96: Though template front matter is documented as a requirement, this is not enforced in the codebase. [wontfix, revision]
#95: Update to Node v18.18.0 LTS and address all related issues. [revision]
#94: Include cache bust metric when release is called without the --verbose option and is called with the --cache-bust option. [revision]
#93: Refactor the cli help to accommodate multiple command options. [feature]
#92: Provide CLI --verbose logging option. [feature, revision]
#91: Update Buster dependency to v1.1.0. [revision]

Output issues as an unordered list in markdown

- #98: Unresolved token reporting drops the last closing brace for include tokens. [bug, revision]
- #97: Log warning to the console if user project does not have a 404.html document. [feature, revision]
- #96: Though template front matter is documented as a requirement, this is not enforced in the codebase. [wontfix, revision]
- #95: Update to Node v18.18.0 LTS and address all related issues. [revision]
- #94: Include cache bust metric when release is called without the --verbose option and is called with the --cache-bust option. [revision]
- #93: Refactor the cli help to accommodate multiple command options. [feature]
- #92: Provide CLI --verbose logging option. [feature, revision]
- #91: Update Buster dependency to v1.1.0. [revision]

Output issues as an ordered list in markdown

0. #98: Unresolved token reporting drops the last closing brace for include tokens. [bug, revision]
0. #97: Log warning to the console if user project does not have a 404.html document. [feature, revision]
0. #96: Though template front matter is documented as a requirement, this is not enforced in the codebase. [wontfix, revision]
0. #95: Update to Node v18.18.0 LTS and address all related issues. [revision]
0. #94: Include cache bust metric when release is called without the --verbose option and is called with the --cache-bust option. [revision]
0. #93: Refactor the cli help to accommodate multiple command options. [feature]
0. #92: Provide CLI --verbose logging option. [feature, revision]
0. #91: Update Buster dependency to v1.1.0. [revision]

Usage Examples

output text to the terminal (default)

gh issue list -s closed -m "v1.3.0" --json "number,title,labels" --repo 4awpawz/fusion.ssg | ghif

pipe text output to a text file

gh issue list -s closed -m "v1.3.0" --json "number,title,labels" --repo 4awpawz/fusion.ssg | ghif > issues.txt

pipe markdown output to a markdown file

gh issue list -s closed -m "v1.3.0" --json "number,title,labels" --repo 4awpawz/fusion.ssg | ghif --markdown-unordered-list --blank-line-between-issues > issues.md

Options

  • Output issues as plain text, default
  • Output a blank line between issues, --blank-line-between-issues
  • Output issues as markdown in an unordered list, --markdown-unordered-list
  • Output issues as markdown in an ordered list, --markdown-ordered-list

Show some love ❤️

If using ghif provides you value then please click on the repository's Star button.

If you would like to be notified when there are changes then please click on the repository's Watch button.