Skip to content

diegohaz/is-git-rev

Repository files navigation

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

About

Verify if a string is a git-rev hash

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published