Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 348 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 348 Bytes

Server HTMS

A middleware for express that allows you to process htms in the server side instead of the client side

Usage

const express = require('express');
const app = express();
const htms = require('server-htms');

app.use(htms)

app.get('/', (req, res) => {
  res.htms('file/path.html')
})