nested-routes: Declarative, compositional Wai responses

[ bsd3, library, web ] [ Propose Tags ]

This library attempts to make it easier to write nice Wai response handlers by giving us a Sinatra <https:hackage.haskell.orgpackagescotty Scotty>-like syntax for declaring HTTP-verb oriented routes, in addition to file-extension handling and rose-tree like composition. Not only do we have literal route specification, like <https:hackage.haskell.orgpackagescotty Scotty> & <https:hackage.haskell.orgpackagespock Spock>, but we can also embed <https:hackage.haskell.orgpackageattoparsec Attoparsec> parsers and <https:hackage.haskell.orgpackageregex-compat Regular Expressions> directly/ in our routes, with our handlers reflecting their results.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.1.1, 0.0.2, 0.0.3.1, 0.1, 0.1.1, 0.2, 0.2.0.1, 0.2.0.2, 0.2.1, 0.2.2, 0.2.2.1, 0.2.2.2, 0.3, 0.3.1, 0.3.2, 0.3.2.1, 1.0, 1.0.0.1, 2.0.0, 2.0.1, 2.1.0, 2.2.0, 3.0.0, 3.0.0.1, 3.0.0.2, 3.1.0, 3.2.0, 4.0.0, 5.0.0, 6.0.0, 6.0.0.1, 6.1.0, 7.0.0, 7.1.0, 7.1.0.1, 7.1.1, 7.2.0, 7.2.1, 7.2.2, 8.0.0, 8.0.1, 8.0.2, 8.1.0, 8.2.0, 9.0.0, 9.0.0.1, 9.0.1.0, 9.0.1.1, 9.0.2, 10.0.0 (info)
Dependencies attoparsec, base (>=4.9 && <5), bifunctors, bytestring, errors, exceptions, extractable-singleton, hashable, hashtables, monad-control-aligned, mtl, poly-arity (>=0.0.7), pred-set (>=0.0.1), pred-trie (>=0.5.1), regex-compat, semigroups, text, transformers, tries, unordered-containers, wai-middleware-content-type (>=0.5.0.1), wai-middleware-verbs (>=0.3.1), wai-transformers (>=0.0.7) [details]
License BSD-3-Clause
Author
Maintainer Athan Clark <athan.clark@gmail.com>
Category Web
Home page https://github.com/athanclark/nested-routes#readme
Bug tracker https://github.com/athanclark/nested-routes/issues
Source repo head: git clone https://github.com/athanclark/nested-routes
Uploaded by athanclark at 2018-03-10T20:48:55Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 24003 total (109 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-10 [all 1 reports]