# @franziz/morgan-middleware

> This uses @franziz/logger to log morgan.

Latest version **1.0.1** (published 2021-11-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @franziz/morgan-middleware
pnpm add @franziz/morgan-middleware
yarn add @franziz/morgan-middleware
bun add @franziz/morgan-middleware
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-11-30 |
| First published | 2021-11-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Frans Siswanto |
| Maintainers | franziz |

## Links

- npm: https://www.npmjs.com/package/@franziz/morgan-middleware
- Repository: https://github.com/monosolusi/mocky
- Homepage: https://github.com/monosolusi/mocky#readme
- Issues: https://github.com/monosolusi/mocky/issues
- npm.io page: https://npm.io/package/@franziz/morgan-middleware

## Dependencies (6)

- [morgan](https://npm.io/package/morgan.md) ^1.10.0
- [rimraf](https://npm.io/package/rimraf.md) 3.0.2
- [express](https://npm.io/package/express.md) ^4.17.1
- [ts-node](https://npm.io/package/ts-node.md) 10.4.0
- [typescript](https://npm.io/package/typescript.md) 4.5
- [@franziz/logger](https://npm.io/package/@franziz/logger.md) ^1.0.4

## Recent versions

- 1.0.1 (latest) — 2021-11-30
- 1.0.0 — 2021-11-30

## README

# Morgan Middleware
This is middleware to capture morgan to @franziz/logger

## How to Use
Use import the middlware and call `handle()` function. For example
```
import express from "express";
import MorganMiddleware from "@franziz/morgan-middleware";

const app = express();
app.use(MorganMiddlware.handle());
app.listen(3000, () => console.log("Connected to port 3000"));
```

---
_Source: https://npm.io/package/@franziz/morgan-middleware · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
