# `Slither.Stage.Router`
[🔗](https://github.com/nshkrdotcom/slither/blob/v0.1.0/lib/slither/stage/router.ex#L1)

Stage that routes items to named outputs based on predicates.

Routes are evaluated in order; the first matching predicate determines
the destination. Items that match no route go to `:default`.

## Options

  * `:routes` - List of `{predicate, destination}` tuples where
    `predicate` is `(Slither.Item.t() -> boolean())` and
    `destination` is an atom.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
