Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
fastify
GitHub Repository: fastify/point-of-view
Path: blob/main/benchmark/fastify-eta.js
106 views
1
'use strict'
2
3
const { Eta } = require('eta')
4
const eta = new Eta()
5
6
require('./setup.js')({
7
engine: { eta },
8
route: (_req, reply) => { reply.view('index.eta', { text: 'text' }) }
9
})
10
11