stan_dart 0.0.2

Dart native
Flutter Android iOS

Dart client for NATS-Streaming, an extremely performant, lightweight reliable streaming platform built on NATS.

4
likes
80 / 110
pub points
6 %
popularity

We analyzed this package on Sep 21, 2020, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/README.md

0/10 points: 20% or more of the public API has dartdoc comments

  • 43 out of 542 API elements (7.9 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:stan_dart/stan_dart.dart that imports:
  • package:nats_dart/nats_dart.dart that imports:
  • dart:io
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

INFO: The declaration '_onClose' isn't referenced.

lib/src/classes/ProtocolHandler.dart:207:8

    ╷
207 │   void _onClose() {
    │        ^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/classes/ProtocolHandler.dart

lib/src/classes/Client.dart is not formatted according to dartfmt

To format your files run: dartfmt -w .

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
fixnum^0.10.110.10.110.10.11
kiwi^2.0.02.0.02.0.0
logging^0.11.3+20.11.40.11.4
nats_dart^0.0.40.0.40.0.4
protobuf^1.0.11.0.11.0.1
quiver^2.1.22.1.32.1.3
uuid^2.2.02.2.22.2.2
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.1.31.1.3
collection-1.14.131.14.13
convert-2.1.12.1.1
crypto-2.1.52.1.5
event_bus-1.1.11.1.1
intl-0.16.10.16.1
meta-1.2.31.2.3
quiver_log-1.0.61.0.6
stack_trace-1.9.51.9.5
typed_data-1.2.01.2.0

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

4
likes
80
pub points
6%
popularity

Dart client for NATS-Streaming, an extremely performant, lightweight reliable streaming platform built on NATS.

Homepage
Repository

Documentation

API reference

Uploader

bob.jackman@carruslearn.com

License

Apache 2.0 (LICENSE)

Dependencies

fixnum, kiwi, logging, nats_dart, protobuf, quiver, uuid

More

Packages that depend on stan_dart