An open API service indexing awesome lists of open source software.

https://github.com/axetroy/url-parse

An advanced url parser supporting git urls too.
https://github.com/axetroy/url-parse

dart dartlang git parser url

Last synced: about 2 months ago
JSON representation

An advanced url parser supporting git urls too.

Awesome Lists containing this project

README

          

# url-parse

[![Build Status](https://travis-ci.org/axetroy/url-parse.svg?branch=master)](https://travis-ci.org/axetroy/url-parse)
![License](https://img.shields.io/badge/license-MIT-green.svg)
![Dart](https://img.shields.io/badge/dart-%3E=1.2.0-blue.svg?style=flat-square)

An advanced url parser supporting git urls too.

## Usage

```dart
import 'package:url_parse/url-parse.dart' show urlParse;

void main(){
Map httpUrlInfo = urlParse('https://www.google.com');
Map gitUrlInfo = urlParse('git+https@github.com:axetroy/protocols.git');

print(httpUrlInfo);
print(urlInfo);
}
```

## Test

```bash
./TEST
```

## Contribute

```bash
git clone https://github.com/axetroy/url-parse.git && cd ./url-parse
pub get
./TEST
```

## LICENSE

The [MIT License](https://github.com/axetroy/url-parse/blob/master/LICENSE)