3.1.0 • Published 2 years ago

@partivo/template-engine v3.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Example Code

JavaScript File

import templateEngine from '@partivo/template-engine';
const page = templateEngine.renderFile('/usr/local/bin/template/404.html', {
  hostname: "partivo.net"
}); // 404.html

HTML File

<html>
    <head>
        <title>404 Not Found</title>
    </head>
    <body>
        <center><h1>404 Not Found</h1></center>
        <hr>
        <center>{{ hostname }}</center>
    </body>
</html>
2.2.1

3 years ago

2.2.0

3 years ago

3.1.0

2 years ago

3.0.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago