npm or yarn:
$ npm i html-scripting
The main idea is to be able to write clear and readable code html, using simple js structure.
The structure like this, is able to convert this js code:
var HtmlScripting = require('html-scripting');
var htmlScripting = new HtmlScripting('html');
var html5 = htmlScripting.html('5', 'en').head('UTF-8', 'My title').body().p('My text here');
into this:
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My title</title>
</head>
<body>
<p>My text here</p>
</body>
</html>
If you want to contribute to a project and make it better, feel free to fork and contribute.