Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ghst/res.ts>HTTPResponse#render

A light-weight http framework built for Deno.
Go to Latest
method HTTPResponse.prototype.render
import { HTTPResponse } from "https://deno.land/x/ghst@1.1.1/res.ts";

Reads a file and replaces text with specified values.

Parameters

path: string

The path of the file.

values: { [key: string]: string; }

The values to replace text with.