elemi 1.0.0

A simple HTML creation helper.


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

Manual usage
Put the following dependency into your project's dependences section:

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.0 2021-Mar-15
1.0.0-beta.1 2020-Nov-02
1.0.0-beta 2020-Nov-01
~master 2021-Mar-15
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 4 downloads total

Score:
0.0
Short URL:
elemi.dub.pm