d4t_formulas/.pub-cache/hosted/pub.dev/shelf_packages_handler-3.0.2/README.md

11 lines
691 B
Markdown
Raw Normal View History

[![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