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

hypa-git

v1.1.2

Published

A zsh script to create new RC's and merge branches

Downloads

24

Readme

Hypa-Git is a zsh script to help us with the robotic task of create RC's and merge all branches at the sprint ending.

Briefly what hypa-git does is create a new RC branch from last tag and name it based on provided semantic version option.

Note²: I'm not a zsh expert. Perhaps some code on this script can be done better or are wrong. I would be happy if you open an issue to talk about it 🤝

Requirements

You must have zsh installed in order to use hypa-git.

Installing

npm

npm install -g hypa-git

Easy peasy. This command should copy hypa-git to $HOME/.hypa-git and link it on your /usr/local/bin folder to make it executable.

Manual

  1. Clone this repository: git clone https://github.com/luizeboli/hypa-git;

  2. Copy hypa-git folder to $HOME/.hypa-git: cp -R /path/where/you/cloned/hypa-git $HOME/.hypa-git;

  3. Create a symbolic link on your /usr/local/binfolder: ln -s path/where/you/cloned/hypa-git/index.zsh /usr/local/bin/hypa-git;

Usage

You can exec hypa-git from your terminal for a usage guide or look at below options.

Options

At least one option is required

| Name | Description
| ------ | -----------
| -nv, --new-version | New RC name
| -b, --branches | Branches to merge on new RCThey must be in double quotesSpace delimited | -major | Major version increment on new RC
| -minor | Minor version increment on new RC
| -patch | Patch version increment on new RC

Some notes about how hypa-git handle these options

  • If no new version option is provided, hypa-git will increment version based on semver option
  • If no semver option is provided, hypa-git will consider the new RC as a patch.
  • If no branch option is provided, hypa-git will only create and push the new RC.
  • If RC already exists, hypa-git will skip creation step.

Usage Examples

Let's use a git repository with newest tag named 1.13.1 as an example:

# This block will create a new branch named '1.13.2-RC'
# And merge 'branch-one' and 'branch-two' 
hypa-git -b "branch-one branch-two"

# This block will create a new branch named '1.14.0-RC' 
# And merge 'branch-one'
# In case there's a conflict, hypa-git you warn you and open vscode (if installed)
hypa-git -b "branch-one" -minor

# This block will create a new branch named '2.0.0-RC'
hypa-git -nv 2.0.0-RC

# This block will create a new branch named '1.13.2-RC'
hypa-git -patch 

Contributors

| Thanks for the idea!Renan Marangon | | :--: | | Renan Marangon |