dartspatcher 0.7.4 copy "dartspatcher: ^0.7.4" to clipboard
dartspatcher: ^0.7.4 copied to clipboard

A simple router dispatcher for HTTP server like expressjs to serve REST api and static files.

7
likes
130/ 140
pub points
0%
popularity

We analyzed this package 22 hours ago, and awarded it 130 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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

16 out of 23 API elements (69.6 %) have documentation comments.

Some symbols that are missing documentation: dartspatcher.Dartspatcher, dartspatcher.Dartspatcher.Dartspatcher, dartspatcher.Dartspatcher.errorHandler, dartspatcher.Dartspatcher.headers, dartspatcher.Dartspatcher.locals.

10/10 points: Package has 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:dartspatcher/dartspatcher.dart that imports:
  • package:dartspatcher/src/dartspatcher_base.dart that imports:
  • package:http_server/http_server.dart that imports:
  • package:http_server/src/http_multipart_form_data.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

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

To format your files run: dart format .

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
http_server ^1.0.0 1.0.0 1.0.0
Transitive dependencies
Package Constraint Compatible Latest
mime - 1.0.5 1.0.5
path - 1.9.0 1.9.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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

7
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A simple router dispatcher for HTTP server like expressjs to serve REST api and static files.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause (LICENSE)

Dependencies

http_server

More

Packages that depend on dartspatcher