elemi 1.0.1-beta

A simple HTML creation helper.


To use this package, run the following command in your project's root directory:

elemi

Elemi is a tiny, dependency free library to make writing sanitized HTML a bit easier.

Check the source code or the documentation to learn how to use it!

import elemi;

auto document = Element.HTMLDoctype ~ elem!"html"(

    elem!"head"(
        elem!"title"("Hello, World!"),
        Element.MobileViewport,
        Element.EncodingUTF8,
    ),

    elem!"body"(

        // All input is sanitized.
        "<Welcome to my website!>"

    ),

);
Authors:
  • soaku
Dependencies:
none
Versions:
1.0.1-beta 2020-Nov-02
1.0.0-beta 2020-Nov-01
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 2 downloads total

Score:
0.3
Short URL:
elemi.dub.pm