tw-express-http-logger

HTTP logging middleware for express

Usage no npm install needed!

<script type="module">
  import twExpressHttpLogger from 'https://cdn.skypack.dev/tw-express-http-logger';
</script>

README

HTTP Logger Middleware

Basic Usage

logger.ts
import express, { Application } from 'express';
import httpLogger from 'tw-express-http-logger';

// Create new express application
const app: Application = express();

// Apply middleware
app.use(httpLogger());

export default app;