zod-opts
Version:
node.js CLI option parser / validator using Zod
12 lines • 416 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.debugLog = void 0;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function debugLog(...args) {
const debug = process.env.ZOD_OPTION_PARSER_DEBUG === "true";
if (debug) {
console.debug(...args); // eslint-disable-line no-console
}
}
exports.debugLog = debugLog;
//# sourceMappingURL=logger.js.map