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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@jiapantw/export-github-issues

v1.0.2

Published

Clone GitHub Issues locally for offline perusal

Downloads

8

Readme

export-github-issues

This is based on https://github.com/jlord/offline-issues, and removed ghauth (use options --token to auth)

js-standard-style

Get your GitHub Issues offline! In Markdown and HTML.

This is a command line application, using Node.js, that fetches the GitHub Issue/s you specify and writes them to files on your computer in both HTML and markdown formats. This way you can view them without an internet connection.

This will cap issues at the first 250.

screenshot

Usage

Use it to save Issues as .md and .html. Options in next section.

  • install
npm install -g @jiapantw/export-github-issues

github_api_token, you can to github generate api_token for temp

  • For one issue:
export-github-issues --token <github_api_token> <ownerId>/<repo>#issueId
  • For all issues:
export-github-issues --token <github_api_token> <ownerId>/<repo>
  • For multiple repositories or issues:
export-github-issues --token <github_api_token> <ownerId>/<repo> <ownerId>/<repo2>#1

Example:

export-github-issues --token <github_api_token> justintien/blog#1 justintien/blog#2

The files are written to whichever directory you are currently in. You will see a md and html folder added, each of which contains the issues you requested.

Options

To just generate HTML files from existing offline cache:

export-github-issues -h
export-github-issues --html

To skip generating ./static/* files for HTML:

export-github-issues -S <ownerId>/<repo>
export-github-issues --no-static <ownerId>/<repo>

To save generated files in different location:

export-github-issues -d <DIRECTORY> <ownerId>/<repo>
export-github-issues --destination <DIRECTORY> <ownerId>/<repo>

To filter by issue state:

export-github-issues -s all <ownerId>/<repo>
export-github-issues --state all <ownerId>/<repo>

This option accepts either open, closed or all. (Default: all) Note that the filter won't be applied when issue number is specified, like muan/github-gmail#4.