Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xambassador committed Aug 14, 2023
1 parent c95b665 commit 506b957
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# chrona

Simple HTTP request logger middleware for express.js inspired from [koa-logger](https://github.com/koajs/logger), written in typescript.
Simple HTTP request logger middleware for express.js inspired by [koa-logger](https://github.com/koajs/logger), written in typescript.

![](public/screenshot.png)

Expand All @@ -23,7 +23,7 @@ app.use(chrona())
> Make sure to add chrona to first in middleware chain.
### chrona(format, options)
Create a new chrona middleware function using the given `format` and `options`. By default it creates with default `format` and default `options` value.
Create a new chrona middleware function using the given `format` and `options`. By default, it creates with default `format` and default `options` value.
The `format` argument is a string of predefined token names(see below for token names).

#### Predefined token names.
Expand Down

0 comments on commit 506b957

Please sign in to comment.