Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

awesome-branch-name

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-branch-name

Generate awesome branch names

  • 2.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

awesome-branch-name

Generate git branch names based on cool-sounding Magic: The Gathering cards.

Install

Install globally to generate delicious branch names with maximum efficiency.

$ npm install -g awesome-branch-name
$ awesome-branch-name

Usage

Print an awesome branch name.

$ awesome-branch-name

Or, run using npx.

$ npx awesome-branch-name

Immediately checkout a new, flavorful branch.

$ git checkout -b `awesome-branch-name`

Provide the optional keyword argument to include the designated word somewhere in the generated name.

$ awesome-branch-name MyNewFeature

Save it in your .bashrc or .zshrc and use it everyday.

branch() {
  git checkout -b "dev/`awesome-branch-name $1`"
}

Or if you prefer npx, make sure to specify -q to silence npx output.

branch() {
  git checkout -b "dev/`npx -q awesome-branch-name $1`"
}

How are these names generated?

Branch names are generated by taking cards from the MtG JSON Card Database, massaging them, and then assigning scores based on a simple algorithm designed to weed out cards that would make unpleasant branch names.

Why would you name your branches like this?

Corporate projects are often boring. Spice up your day! Why name your branch login-bugfix, when you can name it stormwatch-eagle?

Contributing

Put up a pull request! Suggestions on improvements to the scoring method or additional name generation methods are highly encouraged.

License

Licensed under MIT. Full license here »

FAQs

Package last updated on 21 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc