stream 3.1.0+1 copy "stream: ^3.1.0+1" to clipboard
stream: ^3.1.0+1 copied to clipboard

Lightweight Dart web server supporting request routing, filtering, template engine, MVC design pattern, and file-based static resources.

8
likes
110/ 140
pub points
77%
popularity

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

291 out of 330 API elements (88.2 %) have documentation comments.

Some symbols that are missing documentation: stream, stream.ErrorDetail.error, stream.ErrorDetail.stackTrace, stream.Http400.Http400.fromConnect, stream.Http401.Http401.fromConnect.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:stream/stream.dart that imports:
  • package:stream/plugin.dart that imports:
  • package:rikulo_commons/io.dart that imports:
  • package:rikulo_commons/convert.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 287 issues. Showing the first 2:

WARNING: This function has a nullable return type of 'int?', but ends without returning a value.

lib/src/plugin/router.dart:205:8

    ╷
205 │   int? getFilterIndex(HttpConnect connect, String uri, int iFilter) {
    │        ^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/plugin/router.dart

INFO: Statements in a for should be enclosed in a block.

lib/proxy.dart:56:11

   ╷
56 │ ┌           if (Rsp.isHeaderValueValid(value))
57 │ │             _addHeader(clientRequest.headers, name, value);
58 │ │           else
59 │ └             _logger.warning('Ignored: invalid request header value: $name=${json.encode(value)}');
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/proxy.dart

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
args any 2.5.0 2.5.0
charcode any 1.3.1 1.3.1
http any 1.2.1 1.2.1
logging any 1.2.0 1.2.0
path any 1.9.0 1.9.0
rikulo_commons any 6.0.1+1 6.0.1+1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
http_parser - 4.0.2 4.0.2
meta - 1.14.0 1.14.0
mime - 1.0.5 1.0.5
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.1

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

8
likes
110
pub points
77%
popularity

Publisher

verified publisherquire.io

Lightweight Dart web server supporting request routing, filtering, template engine, MVC design pattern, and file-based static resources.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

args, charcode, http, logging, path, rikulo_commons

More

Packages that depend on stream