node-git-utils
v1.6.0
Published
Handy git methods as js functions for usage in node tools/apps.
Downloads
24
Maintainers
Readme
node-git-utils
Thank goodness for git. Just using git and exporting some handy functions for usage in node tools.
Install
$ npm install node-git-utils --save-dev
# or
$ yarn add node-git-utils -D
Documentation
Table of Contents
getCurrentSHA
getCurrentSHA
Parameters
opts
Object an object of options passed to execa
Returns String the sha at HEAD
hasTags
hasTags
Parameters
opts
Object an object of options passed to execa
Returns Boolean returns whether there are any git tags at all