Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeshelf_cors_headers

CORS headers middleware for Shelf.

pub.devRemove
shelf_gzip

Shelf middleware to GZIP encode HTTP responses.

pub.devRemove
ScoresHealth4749 (best)
Maintenance01 (best)
Quality91100 (best)
Popularity60 (best)46
Community1146 (best)
Compatibility100 (best)85
UsageDownloads (30 days)41k69k (best)
Likes41 (best)8
Pub points140 / 160160 / 160 (best)
GitHub stars8 (best)5
MaintenanceLatest release0.1.5, 4 years ago4.1.0, 3 years ago (best)
Major versions in 12 months00
Contributors22
PublisherUnverifiedjpryan.me
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies11
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Handles preflight requests automatically
  • Allows custom origin checkers such as originOneOf
  • Easy to integrate into the Shelf Pipeline
  • Easy integration with shelf pipelines via gzipMiddleware.
  • Allows customization of compression level and compression scope.
  • Automatically skips already compressed content types.
Weaknesses
  • Limited to the Shelf ecosystem
  • Limited to the shelf ecosystem.
  • Not documented for non-shelf frameworks.
WarningsNoneNone
shelf_cors_headers vs shelf_gzip: which Flutter package should you use? | pubscout