1.0.4 • Published 7 years ago

@simplus/express-firewall v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

#Firewall

This package gives a set of firewall functionalities for express

A firewall is a basic middleware that can be user in express

Install

npm install --save @simplus/express-firewall

Usage

const fw = require("@simplus/firewall");

app.use(fw.isRoot());

app.get("/test", fw.hasPermission("test/list"), (req, res, next)=>{
	...
});
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago