1.0.2
voks-express is a middleware to register a render function on express response object
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Usage
deno
import {
html,
type HTMLTemplate,
renderToStream,
type ResponseStream,
} from "voks";
import voksExpress from "https://deno.land/x/voks_express/mod.ts";
const app = express();
app.use(
voksExpress<HTMLTemplate, ResponseStream>(renderToStream, { timeout: 50 }),
);