1.0.0 • Published 9 years ago
sha1-regex v1.0.0
sha1-regex
sha1-regex is a regular expression that matches hex-encoded sha-1 hashes.
install
$ npm install sha1-regex
example
var sha1 = require('sha1-regex')
sha1.test('17413f944145f37dcaa9bc55d9a201a248a08aae')
> true
sha1.test('nope')
> false
license
1.0.0
9 years ago