Installation
Web
<script src="https://htms.fsh.plus/js/v<VERSION>.<TYPE>" type="module" crossorigin="anonymous"></script>
<style>htms{display:none}</style>
<htms>
Your htms config here
</htms>Backend (JS)
const express = require('express');
const app = express();
const htms = require('server-htms');
app.use(htms)
app.get('/', (req, res) => {
res.htms('file/path.html')
})Last updated