Popularity
7.0
Declining
Activity
3.6
Growing
10
8
4
Monthly Downloads: 65
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Latest version: v0.9
servant-blaze alternatives and similar packages
Based on the "servant" category.
Alternatively, view servant-blaze alternatives based on common mentions on social networks and blogs.
-
servant
Servant is a Haskell DSL for describing, serving, querying, mocking, documenting web applications and more! -
servant-generate
Generate default implementations for servers in a flexible way (a.k.a servant-mock on steroids)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai

Do you think we are missing an alternative of servant-blaze or a related project?
README
servant-blaze - Blaze-html support for servant
This package allows you to use blaze-html to serve html pages in your servant APIs. More specifically, it exports a HTML
datatype with the correct MimeRender
instances so that you can write type API = Get '[HTML] User
for example.
Minimal example:
{-# LANGUAGE OverloadedStrings, DataKinds #-}
module Test where
import Servant
import Servant.HTML.Blaze
import qualified Text.Blaze.Html5 as H
type API = Get '[HTML] Homepage
type Homepage = H.Html
server :: Server API
server = return myHome
myHome :: Homepage
myHome = H.docTypeHtml $ do
H.head $ do
H.title "Live to serve"
H.body $ do
H.h1 "Templates!"
H.p "This will be type-checked, rendered and served"