1.0.4 • Published 8 years ago

@simplus/express-firewall v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago