cd-ddos-hook

1.0.1 • Public • Published

CerberusDDoS Detection Hook

This is an integration for Cerberus Development webhook API.

Example

Non-Custom port and path

const { DDoSHook } = require('cd-ddos-hook');
 
const checker = new DDoSHook('/receiver', 4000);
 
checker.start(() => {
    console.log('Detection Hook Started...');
});
 
checker.on("api", (resp) => {
    console.log(resp); // Console logs the API response.
});

Readme

Keywords

Package Sidebar

Install

npm i cd-ddos-hook

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

1.81 kB

Total Files

5

Last publish

Collaborators

  • nightcoredev