# Shelf

Dart package that models web server middleware as composable request-to-response functions.


Source: https://findsoftware.frbit.cloud/shelf/
Last reviewed: 2026-10-26
Listed since: 2026-10-26

## Record

### Links

- repository: https://github.com/dart-lang/shelf
- docs: https://github.com/dart-lang/shelf/tree/master/pkgs/shelf

### Identity

- status: active
- maintainer: the Dart project authors
- maintainerType: community
- parent: unknown
- firstRelease: 2014
- hqCountry: unknown

### Kind

- category: library
- hosting: dart
- language: dart
- runtime: dart
- runtimeMin: dart 3.9
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: always-on
- renderingModes: not applicable
- installMethod: pub dependency in pubspec.yaml

### License

- licenseModel: open-source
- license: BSD-3-Clause

### Releases

- currentMajor: 1
- latestReleaseDate: 2026-10-16

### Adoption

- githubStargazers: 1012
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 58
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/dart-lang/shelf (read 2026-10-26)
- urls: https://raw.githubusercontent.com/dart-lang/shelf/master/pkgs/shelf/README.md (read 2026-10-26)
- maintainer: https://raw.githubusercontent.com/dart-lang/shelf/master/LICENSE (read 2026-10-26)
- language: https://api.github.com/repos/dart-lang/shelf (read 2026-10-26)
- category: https://pub.dev/packages/shelf (read 2026-10-26)
- runtime: https://raw.githubusercontent.com/dart-lang/shelf/master/pkgs/shelf/README.md (read 2026-10-26)
- runtimeMin: https://pub.dev/api/packages/shelf (read 2026-10-26)
- installMethod: https://pub.dev/packages/shelf (read 2026-10-26)
- runsAs: https://raw.githubusercontent.com/dart-lang/shelf/master/pkgs/shelf/README.md (read 2026-10-26)
- license: https://api.github.com/repos/dart-lang/shelf (read 2026-10-26)
- firstRelease: https://pub.dev/api/packages/shelf (read 2026-10-26)
- currentMajor: https://api.github.com/repos/dart-lang/shelf/releases (read 2026-10-26)
- latestReleaseDate: https://api.github.com/repos/dart-lang/shelf/releases (read 2026-10-26)
- contributors: https://api.github.com/repos/dart-lang/shelf/contributors?per_page=1 (read 2026-10-26)
- githubStargazers: https://api.github.com/repos/dart-lang/shelf (read 2026-10-26)

## Notes

Shelf is a Dart package for building web servers from handler functions. A handler takes a request and returns a response, and the package's example composes a pipeline of middleware around a handler before passing it to `shelf_io.serve`, which listens on a host and port. The package is published on pub.dev as `shelf` and developed in the dart-lang/shelf repository alongside the packages that build on it, which the README names as examples of extensions.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
