node-current-branch
v1.0.1
Published
Gets the current Git branch in Node
Downloads
3,763
Readme
node-current-branch
Gets the current Git branch in Node. Nothing else, nothing more.
Usage:
const branch = require('node-current-branch')
const branchName = branch()
console.log(branchName)