2021-05-23 16:16:51 +02:00
2021-04-30 08:26:06 +02:00
2021-04-20 16:38:11 +02:00
2021-05-23 16:16:51 +02:00
2021-04-20 17:25:45 +02:00
2021-04-20 16:38:11 +02:00
2021-04-20 16:38:11 +02:00
2021-04-30 08:26:06 +02:00

JSTE

JSTE is a NodeJS-Module for rendering data in static HTML

Example Page (JSON)

{
    "_TEMPLATE_":"firstexample",
    "TITLE": "app2",
    "LINK":"http://www.google.de"
}

Example Template (HTML)

    <!DOCTYPE html>
<html lang="de">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><[TITLE]></title>
</head>

<body>
    <div id="app">
        <a id="googlelink"><[LINK]></a>
    </div>
    <[[ARRAY]]>
</body>

</html>

special constants:

  • _TEMPLATE_ -> Defines the path to the temp file
Description
No description provided
Readme GPL-3.0 404 KiB
Languages
JavaScript 100%