How to use the perimeterx-node-core.PxClient function in perimeterx-node-core

To help you get started, we’ve selected a few perimeterx-node-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github PerimeterX / perimeterx-node-express / lib / pxclient.js View on Github external
const PxClient = require('perimeterx-node-core').PxClient;

class PxExpressClient extends PxClient {
    init(config) {
        setInterval(() => {
            this.submitActivities(config);
        }, 1000);
    }
}

module.exports = PxExpressClient;

perimeterx-node-core

PerimeterX NodeJS shared core for various applications to monitor and block traffic according to PerimeterX risk score

MIT
Latest version published 11 months ago

Package Health Score

62 / 100
Full package analysis