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

github-review

v0.1.3

Published

A simple tool to help me pull down and review Github PRs

Downloads

3

Readme

Github Review

A simple tool to help me pull down and review Github PRs.

This is geared toward reviewing NodeJS projects since that's what I'm reviewing these days. This is specifically geared toward reviewing PRs from ShellJS and its various off-shoot projects. I also use this to help review cash and my Bash-to-ShellJS translator.

Feel free to try this out for your Github projects! If you like it, drop me a line.

If you find any bugs, please see the wiki page for a guide on submitting bug reports (I'd love to get them so I know what I can fix). If you have any improvements, please open a pull request (which I'll try reviewing via this tool!) or give me a feature suggestion via Github issue. I'm more than happy to branch this off into a more general and powerful project.

Installation

$ npm install -g github-review

Usage

  1. Visit your favorite Github NodeJS project and pick an open pull request
  2. Copy out the pull request's URL (anything that has user/repo/pull/<num>/...)
  3. Paste it on the commandline:
# Save yourself some typing, paste in whatever URL is in your browser
$ review.js https://github.com/shelljs/shx/pull/14
$ review.js https://github.com/shelljs/shx/pull/14/files # this works too
$ review.js https://github.com/shelljs/shx/pull/14#discussion_r55946766 # even this
  1. Press enter, watch the magic happen, and cd into the new PR_14/ directory

Testing the master branch

Also, you can also paste in the URL of the repo itself to clone & test the master branch:

# Clone & test the master branch
$ review.js https://github.com/shelljs/shx

System Compatibility

This is written mainly in ShellJS, so this is supposed to be compatible with Linux, Mac OS X, and Windows. Note: you must have curl installed for this script to run. Don't like that? I'll gladly accept a PR fixing that.

If you find that this script doesn't run on your system, let me know and I'll try to fix that as well.