Skip to content

fsh-org/Server-HTMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')
})