eboom
v0.0.23
Published
Boom responses implementation for ExpressJS.
Downloads
6
Maintainers
Readme
eboom
Boom responses implementation for ExpressJS. For list of all methods that Boom provides, see Boom documentation.
Install
yarn add eboom
(or npm install eboom)
Usage
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);