gitlab-url-parse
1.0.0 • Public • Published gitlab-url-parse
Parse Gitlab urls
Install
$ npm install gitlab-url-parse
Usage
const parse = require('gitlab-url-parse')
console.log(parse('https://gitlab.com/herrmannplatz'))
console.log(parse('https://gitlab.com/herrmannplatz/gitlab-url-parse'))
console.log(parse('https://gitlab.com/herrmannplatz/gitlab-url-parse/merge_requests/1'))
/gitlab-url-parse/
//
Package Sidebar
Install
Weekly Downloads