express-api-common

4.2.0 • Public • Published

express-api-common

Build Status codecov

express server configured with servicebus middleware, and prometheus exporters, and request (leveled optional) logging

Usage

import log from 'llog'
import makeServer from 'express-api-common'

const options = {
  logger: log
}
const server = makeServer(options)
server.use('/', () => { 
  //... 
})
server.start(PORT, onServerListen)

/express-api-common/

    Package Sidebar

    Install

    npm i express-api-common

    Weekly Downloads

    4

    Version

    4.2.0

    License

    ISC

    Unpacked Size

    6.38 kB

    Total Files

    9

    Last publish

    Collaborators

    • patrickleet