0.1.1 • Published 5 years ago

koa-acsecure v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

npm version

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

    	```js
    	app.use(bodyParser()); // Optional, to record params, query and body

    const acsecure = require('koa-acsecure');

    app.use(acsecure('myAppId', 'myAppToken'));

    	```

Images

register

create project

project ID and Token