hyper library

Hyper is a library that makes it easy to build strings of HTML using Dart.

It's intentionally kept simple, and produces nothing but strings of HTML.


The return type of a hyper function representing an HTML element including it's attributes and children.


hyper(String tag, { Map<String, String> attrs, List<Element> children }) Element
A convience function that creates an instance of Element. Primarily used when you want to create a non-standard element such as <custom-element>.
t(String text) Element
Function that creates a text node.