shelf_static 1.1.0
shelf_static: ^1.1.0 copied to clipboard

Static file server support for the shelf package and ecosystem

19
likes
120/ 130
pub points
98%
popularity

We analyzed this package on Sep 22, 2021, and awarded it 120 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
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

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

  • 2 out of 3 API elements (66.7 %) 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 js

Because:

  • package:shelf_static/shelf_static.dart that imports:
  • package:shelf_static/src/static_handler.dart that imports:
  • package:shelf_static/src/directory_listing.dart that imports:
  • dart:io
Pass static analysis
30 / 30

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
convert^3.0.03.0.13.0.1
http_parser^4.0.04.0.04.0.0
mime^1.0.01.0.01.0.0
path^1.8.01.8.01.8.0
shelf^1.1.21.2.01.2.0
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.8.22.8.2
charcode-1.3.11.3.1
collection-1.15.01.15.0
meta-1.7.01.7.0
source_span-1.8.11.8.1
stack_trace-1.10.01.10.0
stream_channel-2.1.02.1.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.1+1, Dart 2.14.1.

19
likes
120
pub points
98%
popularity

Publisher

tools.dart.dev

Static file server support for the shelf package and ecosystem

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

convert, http_parser, mime, path, shelf

More

Packages that depend on shelf_static