bolt-internal-checks
v1.4.0
Published
internal module used for various types of validations
Downloads
8
Readme
bolt-internal-checks
Internal Bolt module used for various types of a validations.
Installation
$ npm install bolt-internal-checks
Use
var check = require('bolt-internal-checks')
var express = require('express')
var app = express()
app.post('/admin', check.forAdminRight, function(request, response){ response.send("Yayy, I'm an admin")});
Note
This is an internal module and should not be used in 3rd party apps.