Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeshelf_limiter

Rate limiting middleware for the Shelf web framework in Dart.

pub.devRemove
shelf_router

A request router for the shelf web-framework with support for URL parameters and nested routers.

pub.devRemove
ScoresHealth4592 (best)
Maintenance293 (best)
Quality100100
Popularity1485 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)1.1k637k (best)
Likes8325 (best)
Pub points160 / 160160 / 160
GitHub stars01k (best)
MaintenanceLatest release2.0.1, 2 years ago1.1.5, 5 weeks ago (best)
Major versions in 12 months00
Contributors160 (best)
Publisherweaverlabs.catools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)3
LicenseBSD-2-CLAUSEAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Supports endpoint-specific limits and wildcard path matching like `/api/v1/*`.
  • Allows customizing rate-limit-exceeded responses and adding custom response headers.
  • Easy integration into existing Shelf middleware pipelines.
  • Convenient routing matching for shelf web applications
  • Supports nested routers and URL parameters
  • Prefix Trie filter optimization for static path segments
Weaknesses
  • Lacks documented distributed storage backend support for multi-instance deployments out of the box.
  • Limited to the shelf ecosystem
  • Requires manual handler mapping unless using the separate generator package
WarningsNoneNone
shelf_limiter vs shelf_router: which Flutter package should you use? | pubscout