Navigation Menu

Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



49 Commits

Repository files navigation

If I have seen a little further it is by standing on the shoulders of giants.

—Isaac Newton, John of Salisbury, and others before them


Quickly view a list of open issues for the open-source packages that your project depends on.

shoulders demo

Terminal theme: Rivet by themer


npx shoulders

shoulders will find dependencies in the node_modules folder, identify corresponding repositories on GitHub, and query GitHub's API for open issues.

If your project depends on many packages you will likely run into rate limiting errors from the GitHub API; you can increase the limit by using a personal access token (the only scope needed is public_repo) and passing it to shoulders via the $GITHUB_TOKEN environment variable:

GITHUB_TOKEN='<your token>' npx shoulders


Name Type Short description
--labels string Filter issues by labels
--depth number Look for issues only n levels deep
--format string Format the output

Issue Filtering

In addition to listing all open issues, you can optionally include a comma-separated list of labels to use. For example, to see only issues with the bug label:

npx shoulders --labels bug

Or to include multiple labels, you can do:

npx shoulders --labels="bug,good first issue"

Controlling Depth

If you wish to look for issues only n levels deep, you can specify a depth parameter:

# Look for issues in your direct dependencies
npx shoulders --depth=0

Output Format

You can format the output by passing a format parameter:

npx shoulders --format html

If you'd like to create a new file you can pipe the output like this:

npx shoulders --format html > output.html

The available formats are currently console (default), html and md (markdown).


Modern software would not be possible without the mountains of previous work by others—much of it open source—as its foundation. In the spirit of Hacktoberfest 2019, this simple script makes it a little bit easier to find a way to support the projects that we depend on so heavily.


MIT © Matt Swensen