koa-acsecure
v0.1.1
Published
Koa middleware for Access Secure
Downloads
5
Readme
koa-acsecure
Access Secure middleware for Koa (node), for logging, anti-spamming and black/white list...
Install
Go to https://logsecure.io, create an account and project. Remember project ID and keep project token in secret. (See images below for details)
npm i koa-acsecure
Usage
app.use(bodyParser()); // Optional, to record params, query and body const acsecure = require('koa-acsecure'); app.use(acsecure('myAppId', 'myAppToken'));