regex-git

1.0.0 • Public • Published

Build Status tippin.me Donate.Paypal Donate.Coffee Donate.Patreon

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

Package Sidebar

Install

npm i regex-git

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

3.13 kB

Total Files

6

Last publish

Collaborators

  • james_r_perkins