npm

koa-acsecure

0.1.1 • Public • Published

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

    app.use(bodyParser()); // Optional, to record params, query and body
    
    const acsecure = require('koa-acsecure');
    
    app.use(acsecure('myAppId', 'myAppToken'));

Images

register

register.JPG

create project

create-project.JPG

project ID and Token

console.JPG

Package Sidebar

Install

npm i koa-acsecure

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

2.67 kB

Total Files

4

Last publish

Collaborators

  • xinjin