blob: 21f4765ec266e8eaea0a2055c32cfc17a5fb0c2a [file] [log] [blame] [view]
[![pub package](https://img.shields.io/pub/v/shelf_packages_handler.svg)](https://pub.dev/packages/shelf_packages_handler)
[![package publisher](https://img.shields.io/pub/publisher/shelf_packages_handler.svg)](https://pub.dev/packages/shelf_packages_handler/publisher)
A package that provides a [shelf][] handler for serving a `packages/` directory.
It's intended to be usable as the first handler in a [`Cascade`][cascade], where
any requests that include `/packages/` are served package assets, and all other
requests cascade to additional handlers.
[shelf]: http://github.com/dart-lang/shelf
[cascade]: http://www.dartdocs.org/documentation/shelf/latest/index.html#shelf/shelf.Cascade