New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

branch-slug

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

branch-slug

GitFlow-like branch naming slugify for lazy people

  • 1.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

Branch Naming Slugifier

GitFlow-like branch naming slugify for lazy people

Installing

npm i -g branch-slug

Usage:

$ bslug [options]

Examples:

$ bslug [ABC-123] Create that awesome feature -f

# Outputs
Branch Slug: git branch -m feature/abc-123-create-that-awesome-feature copied to clipboard
  • Don't include git command for new branch "git branch -m"
$ bslug [ABC-321] Fix that nasty bug -i -g 

# Outputs
Branch Slug: fix/abc-321-fix-that-nasty-bug copied to clipboard
  • Don't copy to clipboard
$ bslug [ABC-456] Improve our workflow -c -n 

# Outputs
Branch Slug: git branch -m chore/abc-456-improve-our-workflow

Options:

  -g, --no-git        Don't include git command for new branch git branch -m
  -n, --no-copy       Don't copy output to the clipboard
  -f, --type-feature  Branch type: feature. The output is feature/{description}
  -i, --type-fix      Branch type: fix. The output is fix/{description}
  -b, --type-bug      Branch type: bug. The output is bug/{description}
  -c, --type-chore    Branch type: chore. The output is chore/{description}
  -r, --type-release  Branch type: release. The output is release/{description}
  -t, --type <type>   Custom branch type. The output is {type}/{description}
  -h, --help          output usage information

FAQs

Package last updated on 20 Nov 2019

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