UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Application Firewall that autonomously protects Node.js apps against common and critical attacks, provides rate limiting, detects malicious traffic (including bots), and more.

11 lines (10 loc) 302 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isDebugging = isDebugging; const envToBool_1 = require("./envToBool"); /** * Checks if AIKIDO_DEBUG is set to true or 1 */ function isDebugging() { return (0, envToBool_1.envToBool)(process.env.AIKIDO_DEBUG); }