server-htms
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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

Package Sidebar

Install

npm i server-htms

Weekly Downloads

6

Version

0.2.0

License

Open Fsh

Unpacked Size

6.31 kB

Total Files

5

Last publish

Collaborators

  • inventionpro