gilp-util

0.0.11 • Public • Published

Gilp Util

travis coverage npm downloads js-semistandard-style license dependencies dev-dependencies

Utils for gilp.

Installation

npm install gilp-util

or

yarn add gilp-util

Usage

getArgs()

Read git hook's parameters.

  const gilpUtil = require('gilp-util');
  gilpUtil.getArgs();

getBranchName()

Get current branch

  const gilpUtil = require('gilp-util');
  gilpUtil.getBranchName();

getGitDirectory()

Return full path to git directory.

getBaseDirectory()

Return full path to base directory.

isInMerge()

Return true if a merge is in progress.

getCommitMessage()

Return commit message.

License

Gilp Util is Copyright (c) 2020 sophilabs, inc. It is free software, and may be redistributed under the terms specified in the license file.

About

sophilabs

Gilp Util is maintained and funded by sophilabs, inc. The names and logos for sophilabs are trademarks of sophilabs, inc.

Readme

Keywords

Package Sidebar

Install

npm i gilp-util

Weekly Downloads

9

Version

0.0.11

License

MIT

Unpacked Size

9.23 kB

Total Files

8

Last publish

Collaborators

  • pricco
  • tavofigse
  • sophilabs