Boom responses implementation for ExpressJS. For list of all methods that Boom provides, see Boom documentation.
yarn add eboom
(or npm install eboom)
const express = require('express');
const eboom = require('eboom');
const app = express();
app.use(eboom());
app.use('/', (req, res) => {
return res.boom.notImplemented();
});
app.listen(3000);