is-git-rev

1.0.1 • Public • Published

is-git-rev

Generated with nod NPM version Build Status Coverage Status

Verify if a string is a git-rev hash

Install

$ npm install --save is-git-rev

Usage

import isGitRev from 'is-git-rev'
 
isGitRev('f9b9150f71db48a49a2e3de5f817cec120334d81')

API

isGitRev

Verify if hash is a git-rev sha1 hash.

Parameters

Returns boolean

License

MIT © Diego Haz

/is-git-rev/

    Package Sidebar

    Install

    npm i is-git-rev

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • diegohaz