url_parse 0.1.0

  • README.md
  • Installing
  • Versions
  • 38

url-parse

Build Status License Dart

An advanced url parser supporting git urls too.

Usage

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

void main(){
  Map<String,dynamic> httpUrlInfo = urlParse('https://www.google.com');
  Map<String,dynamic> gitUrlInfo = urlParse('git+https@github.com:axetroy/protocols.git');
  
  print(httpUrlInfo);
  print(urlInfo);
}

Test

./TEST

Contribute

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

LICENSE

The MIT License

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  url_parse: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:url_parse/url-parse.dart';
  
Version Uploaded Documentation Archive
0.1.0 Mar 2, 2017 Go to the documentation of url_parse 0.1.0 Download url_parse 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
97
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
42
Overall:
Weighted score of the above. [more]
38
Learn more about scoring.

We analyzed this package on Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Issues and suggestions

Maintain CHANGELOG.md.

Changelog entries help clients to follow the progress in your code.

Add SDK constraint in pubspec.yaml.

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

Package is getting outdated.

The package was released 75 weeks ago.

The description is too short.

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Package is pre-v1 release.

While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction of the API.

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use url_parse.dart.

Fix lib/url-parse.dart.

Analysis of lib/url-parse.dart reported 1 hint:

line 48 col 24: The value of the local variable 'listOfMatches' isn't used.

Dependencies

Package Constraint Resolved Available
Dev dependencies
test any