Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 466 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 466 Bytes

qpoint-rewrite-html

A Qpoint adapter for rewriting the response html using the HtmlRewriter rules

Usage

Note: This adapter is useless without registered HtmlRewriter rules. Usually this adapter is added after other adapters that register rules.

import Endpoint from "@qpoint/endpoint";
import rewriteHtml from "@qpoint/rewrite-html";

export default new Endpoint()
  .use(rewriteHtml())

Installation

npm add @qpoint/rewrite-html