rikulo_commons 3.1.3

  • README.md
  • Installing
  • Versions
  • 59

Rikulo Commons #

Rikulo Commons is a collection of common reusable Dart classes and utilities.

Rikulo Commons is distributed under an Apache 2.0 License.

Build Status

Install #

Add this to your pubspec.yaml (or create it):

dependencies:
  rikulo_commmons:

Run on Client and/or Server #

Library Run on Server Run on Client
async.dart Yes Yes
browser.dart Yes Yes
io.dart Yes No
logging.dart Yes Yes
mirrors.dart Yes Yes
util.dart Yes Yes

Notes to Contributors #

Fork Rikulo Commons #

If you'd like to contribute back to the core, you can fork this repository and send us a pull request, when it is ready.

Please be aware that one of Rikulo's design goals is to keep the sphere of API as neat and consistency as possible. Strong enhancement always demands greater consensus.

If you are new to Git or GitHub, please read this guide first.

Who Uses #

  • Quire - a simple, collaborative, multi-level task management tool.
  • Keikai - a sophisticated spreadsheet for big data

Use this package as a library

1. Depend on it

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


dependencies:
  rikulo_commons: ^3.1.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:rikulo_commons/async.dart';
import 'package:rikulo_commons/browser.dart';
import 'package:rikulo_commons/convert.dart';
import 'package:rikulo_commons/html.dart';
import 'package:rikulo_commons/io.dart';
import 'package:rikulo_commons/logging.dart';
import 'package:rikulo_commons/mirrors.dart';
import 'package:rikulo_commons/util.dart';
  
Version Uploaded Documentation Archive
3.1.3 Dec 20, 2018 Go to the documentation of rikulo_commons 3.1.3 Download rikulo_commons 3.1.3 archive
3.1.2 Dec 13, 2018 Go to the documentation of rikulo_commons 3.1.2 Download rikulo_commons 3.1.2 archive
3.1.1 Dec 8, 2018 Go to the documentation of rikulo_commons 3.1.1 Download rikulo_commons 3.1.1 archive
3.1.0+1 Nov 23, 2018 Go to the documentation of rikulo_commons 3.1.0+1 Download rikulo_commons 3.1.0+1 archive
3.1.0 Nov 14, 2018 Go to the documentation of rikulo_commons 3.1.0 Download rikulo_commons 3.1.0 archive
3.0.4 Oct 15, 2018 Go to the documentation of rikulo_commons 3.0.4 Download rikulo_commons 3.0.4 archive
3.0.3+1 Sep 18, 2018 Go to the documentation of rikulo_commons 3.0.3+1 Download rikulo_commons 3.0.3+1 archive
3.0.3 Sep 18, 2018 Go to the documentation of rikulo_commons 3.0.3 Download rikulo_commons 3.0.3 archive
3.0.2+1 Aug 14, 2018 Go to the documentation of rikulo_commons 3.0.2+1 Download rikulo_commons 3.0.2+1 archive
3.0.2 Aug 10, 2018 Go to the documentation of rikulo_commons 3.0.2 Download rikulo_commons 3.0.2 archive

All 131 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
60
Health:
Code health derived from static analysis. [more]
78
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
28
Overall:
Weighted score of the above. [more]
59
Learn more about scoring.

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

  • Dart: 2.1.0
  • pana: 0.12.13

Platforms

Detected platforms: web

Platform components identified in package: html, io, mirrors.

Health suggestions

Fix lib/src/io/http_wrapper.dart. (-8.17 points)

Analysis of lib/src/io/http_wrapper.dart reported 17 hints, including:

line 56 col 3: Avoid return types on setters.

line 63 col 3: Avoid return types on setters.

line 70 col 3: Avoid return types on setters.

line 77 col 3: Avoid return types on setters.

line 84 col 3: Avoid return types on setters.

Fix lib/src/util/strings.dart. (-4.41 points)

Analysis of lib/src/util/strings.dart reported 9 hints, including:

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

line 33 col 63: Use = to separate a named parameter from its default value.

line 34 col 19: Use = to separate a named parameter from its default value.

line 34 col 43: Use = to separate a named parameter from its default value.

line 37 col 28: Use contains instead of indexOf

Fix lib/src/io/gzip_util.dart. (-1.99 points)

Analysis of lib/src/io/gzip_util.dart reported 4 hints:

line 8 col 43: Use = to separate a named parameter from its default value.

line 24 col 55: Use = to separate a named parameter from its default value.

line 24 col 72: Use = to separate a named parameter from its default value.

line 45 col 56: Use = to separate a named parameter from its default value.

Fix additional 17 files with analysis or formatting issues. (-9.97 points)

Additional issues in the following files:

  • lib/src/async/stream_provider.dart (3 hints)
  • lib/src/mirrors/classes.dart (3 hints)
  • lib/src/util/xmls.dart (3 hints)
  • lib/convert.dart (2 hints)
  • lib/html.dart (2 hints)
  • lib/browser.dart (1 hint)
  • lib/src/async/async_util.dart (1 hint)
  • lib/src/io/http_util.dart (1 hint)
  • lib/src/io/iosink_wrapper.dart (1 hint)
  • lib/src/mirrors/objects.dart (1 hint)
  • lib/src/util/color.dart (1 hint)
  • lib/src/util/maps.dart (1 hint)
  • lib/logging.dart (Run dartfmt to format lib/logging.dart.)
  • lib/src/async/stream_wrapper.dart (Run dartfmt to format lib/src/async/stream_wrapper.dart.)
  • lib/src/io/content_type.dart (Run dartfmt to format lib/src/io/content_type.dart.)
  • lib/src/mirrors/error.dart (Run dartfmt to format lib/src/mirrors/error.dart.)
  • lib/src/util/lists.dart (Run dartfmt to format lib/src/util/lists.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.

Use constrained dependencies. (-20 points)

The pubspec.yaml contains 3 dependencies without version constraints. Specify version ranges for the following dependencies: charcode, logging, mime.

The package description is too short. (-17 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 rikulo_commons.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Homepage URL is insecure. (-5 points)

Update the homepage field and use a secure (https) URL.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
charcode any 1.1.2
logging any 0.11.3+2
mime any 0.9.6+2
Dev dependencies
test any