Html
package
This package provides HTML rendering logic.
{
"type": "library"
}
Install
{
"dependencies": {
"Html": "pen:///html"
}
}
Html'Node
module
Types
Node
An HTML node
type Node = Element | string
Element
An HTML element
type Element {
Tag string
Attributes [Attribute]
Children [Node]
}
Attribute
An HTML attribute
type Attribute {
Key string
Value string
}
Functions
No functions are defined.
Html'Render
module
Types
No types are defined.
Functions
Render
Render an HTML node.
\(n Node) string | error