@servicebus/express
v1.0.1
Published
wrapper around express that configures @servicebus middleware, prometheus exporters, and request logging
Downloads
3
Readme
@servicebus/express
express server configured with servicebus middleware, Prometheus exporters, and request (leveled optional) logging
Usage
import log from 'llog'
import makeServer from '@servicebus/express'
const options = {
logger: log
}
const server = makeServer(options)
server.use('/', () => {
//...
})
server.start(PORT, onServerListen)