petit_httpd 1.1.0 copy "petit_httpd: ^1.1.0" to clipboard
petit_httpd: ^1.1.0 copied to clipboard

A simple HTTP file server integrated with Let's Encrypt, gzip and CORS.

2
likes
140/ 140
pub points
10%
popularity

We analyzed this package 2 hours ago, and awarded it 140 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

15 out of 25 API elements (60.0 %) have documentation comments.

Some symbols that are missing documentation: petit_httpd.PetitHTTPD.VERSION, petit_httpd.PetitHTTPD.exposeHeaders, petit_httpd.PetitHTTPD.getOrigin, petit_httpd.PetitHTTPD.getRemoteAddress, petit_httpd.PetitHTTPD.headerAccessControlRequestHeaders.

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:petit_httpd/petit_httpd.dart that imports:
  • package:petit_httpd/src/petit_httpd_base.dart that imports:
  • 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
OK
Pass static analysis
50 / 50trigger folding of the section

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

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_simple ^1.0.0 1.1.0 1.1.0
shelf ^1.4.1 1.4.1 1.4.1
shelf_gzip ^4.0.1 4.1.0 4.1.0
shelf_letsencrypt ^1.2.0 1.2.2 1.2.2
shelf_static ^1.1.2 1.1.2 1.1.2
Transitive dependencies
Package Constraint Compatible Latest
acme_client - 1.3.0 1.3.0
args - 2.5.0 2.5.0
asn1lib - 1.5.3 1.5.3
async - 2.11.0 2.11.0
basic_utils - 5.7.0 5.7.0
boolean_selector - 2.1.1 2.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
coverage - 1.8.0 1.8.0
crypto_keys - 0.3.0+1 0.3.0+1
dio - 5.4.3+1 5.4.3+1
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
jose - 0.3.4 0.3.4
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
meta - 1.15.0 1.15.0
mime - 1.0.5 1.0.5
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
pointycastle - 3.9.1 3.9.1
quiver - 3.2.1 3.2.1
source_maps - 0.10.12 0.10.12
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
vm_service - 14.2.2 14.2.2
web - 0.5.1 0.5.1
x509 - 0.2.4+2 0.2.4+2
yaml - 3.1.2 3.1.2

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.

2
likes
140
pub points
10%
popularity

Publisher

unverified uploader

A simple HTTP file server integrated with Let's Encrypt, gzip and CORS.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

args_simple, shelf, shelf_gzip, shelf_letsencrypt, shelf_static

More

Packages that depend on petit_httpd