node-git-utils

1.6.0 • Public • Published

node-git-utils


CircleCI

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

Package Sidebar

Install

npm i node-git-utils

Weekly Downloads

0

Version

1.6.0

License

MIT

Unpacked Size

11.5 kB

Total Files

6

Last publish

Collaborators

  • davidedaniel