# micro-morgan

> Morgan http request logger middleware for zeit's micro framework

Latest version **0.1.0** (published 2019-03-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install micro-morgan
pnpm add micro-morgan
yarn add micro-morgan
bun add micro-morgan
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-03-21 |
| First published | 2019-03-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | nickcis |
| Keywords | micro, http, request, logger, morgan |

## Links

- npm: https://www.npmjs.com/package/micro-morgan
- Repository: https://github.com/nickcis/micro-morgan
- npm.io page: https://npm.io/package/micro-morgan

## Dependencies (1)

- [morgan](https://npm.io/package/morgan.md) ^1.9.1

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2019-03-21

## README

# micro-morgan

> [Morgan](https://github.com/expressjs/morgan) HTTP request logger middleware for Zeit's [Micro](https://github.com/zeit/micro) framework.

## Install

```
$ npm install --save micro-morgan
```

## Usage

```js
const { send } = require('micro');
const morgan = require('micro-morgan');

module.exports = morgan('tiny')(async (req, res) => {
  send(res, 200, 'Hello from micro')
});
```

Arguments are passed directly to morgan. For more information about formats, please check [morgan docs](https://github.com/expressjs/morgan)

## License

MIT © [Nicolas Cisco](https://nckweb.com.ar)

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