var isGitUrl = require('{%= name %}');
isGitUrl('git://github.com/jonschlinkert/is-git-url.git');
//=> true
isGitUrl('https://github.com/jonschlinkert/');
//=> false
Edit on debuggex
See http://git-scm.com/book/ch4-1.html for more info.
var isGitUrl = require('{%= name %}');
isGitUrl('git://github.com/jonschlinkert/is-git-url.git');
//=> true
isGitUrl('https://github.com/jonschlinkert/');
//=> false
Edit on debuggex
See http://git-scm.com/book/ch4-1.html for more info.