Skip to content

Commit

Permalink
👌 IMPROVE: Add badges to readme
Browse files Browse the repository at this point in the history
Signed-off-by: bhumijgupta <bhumijgupta@gmail.com>
  • Loading branch information
bhumijgupta committed Aug 19, 2020
1 parent 19d5410 commit 5368501
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div align="center">
<h1>EREL</h1>
<img src="https://github.com/bhumijgupta/erel/workflows/NPM%20Publish/badge.svg" alt="NPM Publish"> <img alt="npm" src="https://img.shields.io/npm/v/erel"> <img alt="npm bundle size" src="https://img.shields.io/bundlephobia/min/erel?color=green"> <img alt="NPM" src="https://img.shields.io/npm/l/erel"> <img alt="GitHub stars" src="https://img.shields.io/github/stars/bhumijgupta/erel?style=plastic"><br/>
Express-route-exit-log (EREL) is a customisable express middleware package to log useful request insights when route execution finishes.
</div>

Expand All @@ -22,10 +23,10 @@ npm i erel --save
yarn add erel
```

## Demo screenshot
## Screenshot

Logging route insights using custom logger and EREL
![Demo screenshot](./assets/screenshot.png)
Logging route insights using custom logger and EREL
![Demo screenshot](https://github.com/bhumijgupta/erel/raw/master/assets/screenshot.png)

## Usage

Expand Down Expand Up @@ -129,6 +130,10 @@ type LoggerCallback = (data: exitData, req?: Request, res?: Response) => void;

Consider opening a feature request [here](https://github.com/bhumijgupta/erel/issues/new).

### License

<img alt="NPM" src="https://img.shields.io/npm/l/erel">

## Build with ♡ by

### Bhumij Gupta
Expand Down

0 comments on commit 5368501

Please sign in to comment.