rikulo_commons 3.1.1

  • README.md
  • Installing
  • Versions
  • 65

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


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


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:

  rikulo_commons: ^3.1.1

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.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
3.0.1 Aug 10, 2018 Go to the documentation of rikulo_commons 3.0.1 Download rikulo_commons 3.0.1 archive
3.0.0 Aug 9, 2018 Go to the documentation of rikulo_commons 3.0.0 Download rikulo_commons 3.0.0 archive

All 129 versions...

Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

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

  • Dart: 2.1.0
  • pana: 0.12.7


Detected platforms: web

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

Health suggestions

Fix lib/src/mirrors/classes.dart. (-0.50 points)

Analysis of lib/src/mirrors/classes.dart reported 1 hint:

line 187 col 68: Equality operator == invocation with references of unrelated types.

Fix lib/src/util/maps.dart. (-0.50 points)

Analysis of lib/src/util/maps.dart reported 1 hint:

line 174 col 16: Always override hashCode if overriding ==.

Format lib/browser.dart.

Run dartfmt to format lib/browser.dart.

Fix additional 17 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/convert.dart (Run dartfmt to format lib/convert.dart.)
  • lib/html.dart (Run dartfmt to format lib/html.dart.)
  • lib/logging.dart (Run dartfmt to format lib/logging.dart.)
  • lib/src/async/async_util.dart (Run dartfmt to format lib/src/async/async_util.dart.)
  • lib/src/async/stream_provider.dart (Run dartfmt to format lib/src/async/stream_provider.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/io/gzip_util.dart (Run dartfmt to format lib/src/io/gzip_util.dart.)
  • lib/src/io/http_util.dart (Run dartfmt to format lib/src/io/http_util.dart.)
  • lib/src/io/http_wrapper.dart (Run dartfmt to format lib/src/io/http_wrapper.dart.)
  • lib/src/io/iosink_wrapper.dart (Run dartfmt to format lib/src/io/iosink_wrapper.dart.)
  • lib/src/mirrors/error.dart (Run dartfmt to format lib/src/mirrors/error.dart.)
  • lib/src/mirrors/objects.dart (Run dartfmt to format lib/src/mirrors/objects.dart.)
  • lib/src/util/color.dart (Run dartfmt to format lib/src/util/color.dart.)
  • lib/src/util/lists.dart (Run dartfmt to format lib/src/util/lists.dart.)
  • lib/src/util/strings.dart (Run dartfmt to format lib/src/util/strings.dart.)
  • lib/src/util/xmls.dart (Run dartfmt to format lib/src/util/xmls.dart.)

Maintenance issues and suggestions

Maintain CHANGELOG.md. (-20 points)

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

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 description is too short. (-20 points)

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

Maintain an example. (-10 points)

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 rikulo_commons.dart.


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