1.0.0 • Published 5 years ago
regex-git v1.0.0
Regex git
Regular expression for matching any git based url
Install
$ npm install --save regex-git
Usage
const regexGit = require('regex-git');
const https = 'https://github.com/perkinsjr/regex-git.git';
const git = 'git@github.com:perkinsjr/regex-git.git'
regexGit.test(https);
regexGit.test(git);
License
MIT © James Perkins
1.0.0
5 years ago