UNPKG

fastify-cli

Version:

Run a fastify route with one command!

15 lines (12 loc) 308 B
'use strict' const fp = require('fastify-plugin') /** * This plugins adds some utilities to handle http errors * * @see https://github.com/fastify/fastify-sensible */ module.exports = fp(async function (fastify, opts) { fastify.register(require('fastify-sensible'), { errorHandler: false }) })