arrow 0.0.9

arrow #

Use this package as a library

1. Depend on it

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


dependencies:
  arrow: ^0.0.9

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:arrow/arrow.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
81
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
40
Overall:
Weighted score of the above. [more]
32
Learn more about scoring.

We analyzed this package on Oct 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, other

Primary library: package:arrow/arrow.dart with components: io.

Health suggestions

Fix lib/src/router.dart. (-3.93 points)

Analysis of lib/src/router.dart reported 8 hints, including:

line 69 col 9: Use isNotEmpty instead of length

line 69 col 37: Use isNotEmpty instead of length

line 80 col 21: Use = to separate a named parameter from its default value.

line 91 col 21: Use = to separate a named parameter from its default value.

line 152 col 7: DO use curly braces for all flow control structures.

Fix lib/src/middlewares/cors.dart. (-2.96 points)

Analysis of lib/src/middlewares/cors.dart reported 6 hints, including:

line 25 col 28: Use = to separate a named parameter from its default value.

line 80 col 15: DO use curly braces for all flow control structures.

line 130 col 9: Use isEmpty instead of length

line 194 col 7: Use isEmpty instead of length

line 205 col 7: Use isNotEmpty instead of length

Fix lib/src/middlewares/logger.dart. (-2.48 points)

Analysis of lib/src/middlewares/logger.dart reported 5 hints:

line 42 col 7: Use isNotEmpty instead of length

line 50 col 7: Use isNotEmpty instead of length

line 57 col 31: Don't explicitly initialize variables to null.

line 57 col 44: Use = to separate a named parameter from its default value.

line 57 col 65: Use = to separate a named parameter from its default value.

Fix additional 14 files with analysis or formatting issues. (-11.94 points)

Additional issues in the following files:

  • lib/src/route.dart (5 hints)
  • lib/src/server.dart (5 hints)
  • lib/src/arrow.dart (3 hints)
  • lib/src/responder.dart (3 hints)
  • lib/src/middleware.dart (2 hints)
  • lib/src/pipeline.dart (2 hints)
  • lib/src/manager.dart (1 hint)
  • lib/src/message.dart (1 hint)
  • lib/src/parameters.dart (1 hint)
  • lib/src/request.dart (1 hint)
  • lib/arrow.dart (Run dartfmt to format lib/arrow.dart.)
  • lib/cloud_run.dart (Run dartfmt to format lib/cloud_run.dart.)
  • lib/src/content.dart (Run dartfmt to format lib/src/content.dart.)
  • lib/src/response.dart (Run dartfmt to format lib/src/response.dart.)

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and arrow.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
bottom_line ^0.0.4 0.0.4
http ^0.12.0+2 0.12.0+2
path ^1.6.2 1.6.4
recase ^2.0.1 2.0.1
uri ^0.11.3 0.11.3+1
uuid ^2.0.1 2.0.2
Transitive dependencies
async 2.4.0
charcode 1.1.2
collection 1.14.12
convert 2.1.1
crypto 2.1.3
http_parser 3.1.3
matcher 0.12.6
meta 1.1.7
pedantic 1.8.0+1
quiver 2.0.5
source_span 1.5.5
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
utf 0.9.0+5
Dev dependencies
build_runner any