Skip to content

Commit edc7202

Browse files
committed
update readme
1 parent 688f81f commit edc7202

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@
1111
[![npm version](https://badge.fury.io/js/express-suite.svg)](https://badge.fury.io/js/express-suite)
1212
[![](https://img.shields.io/npm/dt/express-suite)]()
1313

14+
## :) More middlewares will be available as the time progresses.
15+
1416
## Installation
1517

1618
```
1719
$ npm i express-suite
1820
```
1921

20-
## routeCheck
22+
> ## routeCheck
2123
2224
This middleware will handle all requests to non-registered routes for you.
2325

@@ -54,7 +56,7 @@ app.use(routeCheck(app, option));
5456
app.listen(5003);
5557
```
5658

57-
## emptyInputCheck
59+
> ## emptyInputCheck
5860
5961
This middleware checks for all empty inputs to all routes (unless used at a router level) by checking the **body** of both POST and GET requests.
6062

@@ -84,7 +86,7 @@ app.use(
8486
);
8587

8688
//The emptyInputCheck Middleware
87-
//It's important that we place the our middleware after the bodyParser middleware
89+
//It's important that we place our middleware after the bodyParser middleware
8890
//Make sure you call the emptyInputCheck middleware before the routes are loaded
8991
app.use(
9092
emptyInputCheck({
@@ -102,7 +104,7 @@ app.use('/', example);
102104
app.listen(5003);
103105
```
104106

105-
## Tests
107+
> ## Tests
106108
107109
The poject uses **Jest** for testing.
108110

@@ -115,6 +117,6 @@ $ npm i
115117
$ npm test
116118
```
117119

118-
## License
120+
> ## License
119121
120122
[Apache License 2.0](https://github.com/algo7/express-suite/blob/master/LICENSE)

0 commit comments

Comments
 (0)