UNPKG

safe-logging-replit

Version:

A wrapper for the Node.js console to safely log strings to the console avoiding DoS vulnerabilities on Replit.

8 lines (7 loc) 238 B
/// <reference types="node" /> export declare const forbiddenBitcoinStr: string; export interface SafeLogOptions { newLine?: boolean; dev?: NodeJS.WriteStream; } export declare function makeConsoleSafe(console: Console): Console;