cd-ddos-hook
Version:
Send/Receiver For DDoS Detection
21 lines (14 loc) • 421 B
Markdown
This is an integration for Cerberus Development webhook API.
Non-Custom port and path
```js
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.
});
```