sse 4.1.0
sse: ^4.1.0 copied to clipboard

Provides client and server functionality for setting up bi-directional communication through Server Sent Events (SSE) and corresponding POST requests.

16
likes
100/ 130
pub points
97%
popularity

We analyzed this package on Oct 25, 2021, and awarded it 100 pub points (of a possible 130):

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 13 out of 21 API elements (61.9 %) have documentation comments.
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 native

Because:

  • package:sse/client/sse_client.dart that imports:
  • dart:html
Pass static analysis
20 / 30

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

lib/src/server/sse_handler.dart doesn't match the Dart formatter.

To format your files run: dart format .

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
async^2.0.82.8.22.8.2
collection^1.0.01.15.01.15.0
logging>=0.11.3+2 <2.0.01.0.21.0.2
pedantic^1.4.01.11.11.11.1
pool^1.5.01.5.01.5.0
shelf^1.1.01.2.01.2.0
stream_channel>=1.6.8 <3.0.02.1.02.1.0
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.3.11.3.1
http_parser-4.0.04.0.0
meta-1.7.01.7.0
path-1.8.01.8.0
source_span-1.8.11.8.1
stack_trace-1.10.01.10.0
string_scanner-1.1.01.1.0
term_glyph-1.2.01.2.0
typed_data-1.3.01.3.0

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

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

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.3, Dart 2.14.3.

16
likes
100
pub points
97%
popularity

Publisher

tools.dart.dev

Provides client and server functionality for setting up bi-directional communication through Server Sent Events (SSE) and corresponding POST requests.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, collection, logging, pedantic, pool, shelf, stream_channel

More

Packages that depend on sse