UNPKG

fastify-cli

Version:

Run a fastify route with one command!

10 lines (7 loc) 203 B
'use strict' const fp = require('fastify-plugin') module.exports = fp(async function (fastify, opts) { fastify.decorate('exampleDecorator', () => { return 'decorated' }) }, { fastify: '3.x' })