Access Secure middleware for Koa (node), for logging, anti-spamming and black/white list...
-
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'));