UNPKG

fastify-cli

Version:

Run a fastify route with one command!

11 lines (8 loc) 188 B
'use strict' const fp = require('fastify-plugin') module.exports = fp(function (fastify, opts, next) { fastify.decorate('someSupport', function () { return 'hugs' }) next() })