UNPKG

fastify-cli

Version:

Run a fastify route with one command!

8 lines (6 loc) 166 B
'use strict' module.exports = async function (fastify, options) { fastify.get('/', async function (req, reply) { return { hello: process.env.GREETING } }) }