Skip to content

Commit

Permalink
adding / fixing some documentation text...
Browse files Browse the repository at this point in the history
  • Loading branch information
undertuga committed Nov 6, 2019
1 parent 1ab0c40 commit c78dda2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if(_wafjs.wafChecks(req.headers['user-agent'], req.method, req.headers['content-

---

#### ExpressJS integration example
#### Express.JS (and other frameworks) integration example
***WAFJS*** can easily be integrated into ExpressJS as middleware, analysing the request before any further handling by the web system:
```javascript
// WAF middleware validation & request id injection on every request
Expand All @@ -109,4 +109,6 @@ if(_wafjs.wafChecks(req.headers['user-agent'], req.method, req.headers['content-
});
```

***WAFJS*** may also be easily integrated in other frameworks (Loopback, etc..) using the same approach as described above.

---
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wafjs",
"version": "1.0.2",
"version": "1.0.3",
"description": "Simple WAF to integrate with Node.js web systems",
"main": "lib/waf.js",
"scripts": {
Expand Down

0 comments on commit c78dda2

Please sign in to comment.