elemi 1.0.0-beta

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,
    ),

    elem!"body"(

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

    ),

);
Authors:
  • soaku
Dependencies:
none
Versions:
1.2.2 2023-Feb-11
1.2.1 2022-Sep-07
1.2.0 2021-Nov-30
1.2.0-alpha 2021-Nov-30
1.1.0 2021-Oct-30
Show all 10 versions
Download Stats:
  • 2 downloads today

  • 4 downloads this week

  • 19 downloads this month

  • 122 downloads total

Score:
0.4
Short URL:
elemi.dub.pm