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 🙏

© 2026 – Pkg Stats / Ryan Hefner

matts-dev-tools

v1.1.0

Published

Developer tools for rails developers using git and jira

Readme

matts-dev-tools

Developer tools making life in a rails, git, jira environment easier

installation

yarn global add matts-dev-tools

jira integration

  • yarn global add jira-cl
  • create a api token
  • Run jira and input your api token as the password

errors

if your project has a /tmp folder it will store error messages in /tmp/errors.txt. otherwise it will just show the entire error in the console. setup this way because sometimes I don't want to see the entire error. to see the last 100 lines of error run tail -100 ./tmp/errors.txt

Git Checkout Interactive

Usage: gci Boots up an interactive git checkout.

  • displays all of your branches
  • current branch is disabled
  • shows the commit information as a hint
  • if jira is enabled
    • it shows the ticket summary for any branches with the ticket-number in the branch name
    • it gives an option to create a branch for any tickets assigned to you in the current sprint that don't have a branch

Git Clean Branches

Usage: gcb Boots up an interactive terminal where you can clean out old branches.

  • displays all of your branches
  • current branch and master are disabled
  • if jira is enabled
    • it shows the ticket summary for any branches with the ticket-number in the branch name
  • allows you to mark a set of branches for deletion (old branches you had forgotten about and are already merged)
  • reconfirms that you want to delete that set of branches

Utils

  • example: examples/check-changed-files
  • execCommand executes a shell command and silences the console output replacing it with a spinner
  • runInteractive will prompt you to select a set of commands from a list to run. It will fail instantly if any command fails
  • prompt accepts a y/n question and returns a boolean base on user feadback
  • promptSelect prompts the user to select an option from a passed in array
  • getChangedFiles returns all files that git thinks have changed compared to a specific branch. Filterable by file extension and change type

Jira

  • example: git-checkout-interactive.js
  • getTickets returns the tickets that the command jira issue returns
  • findTicket given a branch name and the return of getTickets, finds the ticket corresponding to the branch if one exists

Rails

  • example: git.js checkout method
  • getCurrentMigration gets the current migration version for a rails database
  • getMigrations returns an array of migration version numbers
  • diffMigrations returns { current: oldest migration that doesn't exist in other branch, common: oldest migration thats common between the two, other: oldest migration that doesn't exist in current branch }
  • migrate migrates to a specific version or all the way up

Git

  • example: git-checkout-interactive.js
  • getCurrentBranch returns current branch name
  • getBranches returns branch objects with flag, branch name and commit info
  • checkout checks if other branch has differences in database migrations, migrates database properly, checkouts out other branch (or creates if in create mode), migrates up if neeeded

Related