# HTML pipe The goal of this crate is to make it easier to build html components on the server side and reuse them. ## How to use ```bash cargo add html-pipe ``` ```rust use html_pipe::*; let mut buf = Buffer::new(); node("html", attr("lang", "en"), node("body", noop, text("Hello World!")))(&mut buf).unwrap(); assert_eq!(buf, "Hello World"); ``` ## TODO - Add a function to chain function calls - Be able to stream the calls