branch-safe-name
Git branch names sanitizer
Installation
yarn global add branch-safe-name
Usage
$ branch-safe-name -l -s '-' Some long string that you copy-pasted from a browser
some-long-string-that-you-copy-pasted-from-a-browser
Git branch names sanitizer
yarn global add branch-safe-name
$ branch-safe-name -l -s '-' Some long string that you copy-pasted from a browser
some-long-string-that-you-copy-pasted-from-a-browser
npm i branch-safe-name
98
0.0.2
MIT
8.31 kB
9