git-branches
v0.0.2
Published
Get a current repositories branches list
Downloads
340
Readme
git-branches
Get a current repositories branches list
#Install
npm install --save git-branches
#Usage
import gitBranches from 'git-branches'
gitBranches('./'),then( (branches) => {
console.log(branches)
// [ 'master', 'gh-pages' ]
})