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

gh-tools

v2.2.1

Published

A single endpoint to several github statistics.

Downloads

11

Readme

gh-tools

Install

npm i gh-tools -g

Tested with node v9.8.0.

Usage

Set the GITHUB_TOKEN ENV variable to contain your personal access token (get your token on https://github.com/settings/tokens), i.e.: export GITHUB_TOKEN="asdfrf234424d43d4d23" if you want to access private repositories.

The gh-tool --help command should give you all the relevant information you need about the command itself.

Examples

gh-tools pr

Listing open PRs withing an organization:

$ gh-tools pr --owner GMOD
Repo              Author           Title                                                                                    Reviewers  URL                                             
----------------  ---------------  ---------------------------------------------------------------------------------------  ---------  ------------------------------------------------
jbrowse           cmdcolin         Add unprocessed transcript glyph                                                                    https://github.com/GMOD/jbrowse/pull/1230       
jbrowse           rbuels           embedded mode docs                                                                                  https://github.com/GMOD/jbrowse/pull/1228       
jbrowse           garrettjstevens  Use @gmod/vcf                                                                                       https://github.com/GMOD/jbrowse/pull/1227       
jbrowse           hkmoon           Remove the zoomLevel = 1/200                                                                        https://github.com/GMOD/jbrowse/pull/1187       
Bio-Graphics      carandraug       typos and clarifications on documentation                                                           https://github.com/GMOD/Bio-Graphics/pull/27    
Bio-Graphics      gitter-badger    Add a Gitter chat link to README                                                                    https://github.com/GMOD/Bio-Graphics/pull/22    
Chado             jogoodma         Issue 65 - search_path issue with binloc functions used for featureloc indices                      https://github.com/GMOD/Chado/pull/66           
Chado             bradfordcondon   Project stock biomaterial linker tables                                                             https://github.com/GMOD/Chado/pull/55           
Chado             bradfordcondon   add type_id column to analysis table                                                                https://github.com/GMOD/Chado/pull/52           
Chado             bradfordcondon   MAGE description changes and minor table changes to accomodate next gen sequencing data  scottcain  https://github.com/GMOD/Chado/pull/50           
GBrowse-Adaptors  nathanweeks      Fix kent src paths in Bio-BigFile/README                                                            https://github.com/GMOD/GBrowse-Adaptors/pull/21
Apollo            nathandunn       Group searchbox - Test to review                                                                    https://github.com/GMOD/Apollo/pull/1946        
Apollo            nathandunn       Jbrowse 1.15                                                                                        https://github.com/GMOD/Apollo/pull/1928        
Apollo            nathandunn       JBrowse sync with 1.15.X                                                                            https://github.com/GMOD/Apollo/pull/1919        
Apollo            malcook          modify GFF3 export to (a) comport with GVF4.x conventions and (b) be VCF-ready                      https://github.com/GMOD/Apollo/pull/1495        
Apollo            nathandunn       Joss submit 1                                                                                       https://github.com/GMOD/Apollo/pull/1235        
cram-js           cmdcolin         Add binary parser test back into cram-js                                                            https://github.com/GMOD/cram-js/pull/3       

gh-tools contributors

Listing new contributors of a specific repo since a specific date:

$ gh-tools contributors -o kiali -r kiali -s 2018-10-01T00:00:00.000Z
Login      Url                                     Contributor Since  Commit                                                                                   
---------  --------------------------------------  -----------------  -----------------------------------------------------------------------------------------
emmayang   https://api.github.com/users/emmayang   2018-10-22         https://api.github.com/repos/kiali/kiali/commits/fe7d120c4c59951c7f7cb99c6b52f5b2eb646524
matejgera  https://api.github.com/users/matejgera  2018-10-19         https://api.github.com/repos/kiali/kiali/commits/cd91678b27dc6e0f0bbe668957884a1269ab3d9a
bhavin192  https://api.github.com/users/bhavin192  2018-10-14         https://api.github.com/repos/kiali/kiali/commits/2b881d6d43767835640e3754e2787f609bac252f
hunchback  https://api.github.com/users/hunchback  2018-10-2          https://api.github.com/repos/kiali/kiali/commits/4343ee49e98fca0e6cf1738f5853c852ed4dc0cb

Listing new contributors of across all the repos in an organization since a specific date:

$ gh-tools contributors -o kiali -s 2018-10-01T00:00:00.000Z
Login         Url                                        Contributor Since  Commit                                                                                      
------------  -----------------------------------------  -----------------  --------------------------------------------------------------------------------------------
emmayang      https://api.github.com/users/emmayang      2018-10-22         https://api.github.com/repos/kiali/kiali/commits/fe7d120c4c59951c7f7cb99c6b52f5b2eb646524   
matejgera     https://api.github.com/users/matejgera     2018-10-19         https://api.github.com/repos/kiali/kiali/commits/cd91678b27dc6e0f0bbe668957884a1269ab3d9a   
bhavin192     https://api.github.com/users/bhavin192     2018-10-14         https://api.github.com/repos/kiali/kiali/commits/2b881d6d43767835640e3754e2787f609bac252f   
hunchback     https://api.github.com/users/hunchback     2018-10-2          https://api.github.com/repos/kiali/kiali/commits/4343ee49e98fca0e6cf1738f5853c852ed4dc0cb   
vanillaSlice  https://api.github.com/users/vanillaSlice  2018-10-5          https://api.github.com/repos/kiali/kiali-ui/commits/10a54ff7212cc870a374c445ce179ee343cef83e
clyang82      https://api.github.com/users/clyang82      2018-10-15         https://api.github.com/repos/kiali/kiali-ui/commits/c16c4db7ed2f33803d1d2bbcd8db6269ea03bedf

Acknowledgment

Inspired by kfatehi's gist.