parse-github-repo-url

WebJar for parse-github-repo-url

Лицензия

Лицензия

MIT
Категории

Категории

Github Инструменты разработки Контроль версий
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

parse-github-repo-url
Последняя версия

Последняя версия

1.4.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

parse-github-repo-url
WebJar for parse-github-repo-url
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/repo-utils/parse-github-repo-url

Скачать parse-github-repo-url

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/parse-github-repo-url/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>parse-github-repo-url</artifactId>
    <version>1.4.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/parse-github-repo-url/
implementation 'org.webjars.npm:parse-github-repo-url:1.4.1'
// https://jarcasting.com/artifacts/org.webjars.npm/parse-github-repo-url/
implementation ("org.webjars.npm:parse-github-repo-url:1.4.1")
'org.webjars.npm:parse-github-repo-url:jar:1.4.1'
<dependency org="org.webjars.npm" name="parse-github-repo-url" rev="1.4.1">
  <artifact name="parse-github-repo-url" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='parse-github-repo-url', version='1.4.1')
)
libraryDependencies += "org.webjars.npm" % "parse-github-repo-url" % "1.4.1"
[org.webjars.npm/parse-github-repo-url "1.4.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

parse-github-repo-url

Parse a GitHub URL for user/project@version

Build Status semantic-release

Features

Parse all the stupid ways you could write a GitHub URL in your damn package.json. Supports:

  • <user>/<repo#<commit>
  • git:// and .git w/ #commit or @version
  • git@ and https:git@
  • www.github.com
  • gitlab.<my company name>.com/user/repo.git parsing
  • All 5 different ways you could download a freaking tarball/zipball

API

[user, repo, version] = parse(url)

version could be falsey, a semantic version, a commit, or a branch, etc.

var parse = require('parse-github-repo-url')
parse('component/emitter#1') // => ['component', 'emitter', '1']

See the tests for all the different types of supported URLs.

org.webjars.npm

Версии библиотеки

Версия
1.4.1