# standard-branch

> a cli utility for creating branches

Latest version **1.5.1** (published 2021-09-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install standard-branch
pnpm add standard-branch
yarn add standard-branch
bun add standard-branch
```

Provides the commands `cb`, `gsb`, `standard-branch`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.5.1 |
| Published | 2021-09-02 |
| First published | 2020-08-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 14.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Laszlo Takacs |
| Maintainers | takl95 |

## Links

- npm: https://www.npmjs.com/package/standard-branch
- Repository: https://github.com/takl95/standard-branch
- Homepage: https://github.com/takl95/standard-branch#readme
- Issues: https://github.com/takl95/standard-branch/issues
- npm.io page: https://npm.io/package/standard-branch

## Dependencies (7)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [fuzzy](https://npm.io/package/fuzzy.md) ^0.1.3
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.4
- [slugify](https://npm.io/package/slugify.md) ^1.4.5
- [inquirer](https://npm.io/package/inquirer.md) ^7.3.3
- [cosmiconfig](https://npm.io/package/cosmiconfig.md) ^6.0.0
- [inquirer-autocomplete-prompt](https://npm.io/package/inquirer-autocomplete-prompt.md) ^1.0.2

## Recent versions

- 1.5.1 (latest) — 2021-09-02
- 1.5.0 — 2021-09-02
- 1.4.0 — 2020-10-29
- 1.3.0 — 2020-08-05
- 1.2.1 — 2020-08-05
- 1.2.0 — 2020-08-05
- 1.1.3 — 2020-08-05
- 1.1.2 — 2020-08-05
- 1.1.1 — 2020-08-05
- 1.1.0 — 2020-08-05
- 1.0.0 — 2020-08-05

## README

# standard-branch

A zero-config opiniated, like command line utility to create [conventional](https://conventionalcommits.org/) branches.
See also [standard-commit-2](https://www.npmjs.com/package/standard-commit-2)

- **cb**: Same as `git branch -b` but with prompt and formatting for the branch name.

## Installation
```bash
npm install -g standard-branch
```
## Usage
```bash
cb
```
## Git Alias
```bash
git config --global alias.cb "!standard-branch"
# Now you can use:
git cb
```
## Update

```bash
npm update -g standard-branch
```

## Configuration
You can only configure with `standard-commit-2`.
 
 See: https://www.npmjs.com/package/standard-commit-2#configuration
 
you  configure standard-commit via a `.standard-commitrc` file. You should add this file to the git repo.
## Default Types
Use the suggested defaults.
* **feat**: Add a new feature (equivalent to a MINOR in Semantic Versioning).
* **fix**: Fix a bug (equivalent to a PATCH in Semantic Versioning).
* **chore**: Update something without impacting the user (ex: bump a dependency in package.json).
* **build**: Changes that affect the build system or external dependencies (ex: webpack config changes)
* **ci**: changes made to the pipeline
* **docs**: Documentation changes.
* **refactor**: Refactor code without changing public API.
* **revert**: Reverting an old commit
* **style**: Code style change (semicolon, indentation...).
* **test**: Add test to an existing feature or update a test

---
_Source: https://npm.io/package/standard-branch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
