UNPKG

print-beauty

Version:

Let's you print with style!

24 lines (23 loc) 739 B
declare type LogArguments = { msg: string; colour?: string; newline?: { before?: boolean; after?: boolean; }; returnNoPrint?: boolean; }; declare type ErrorArguments = { msg: string; colour?: string; newline?: { before?: boolean; after?: boolean; }; exitAfterError?: boolean; }; export declare const log: ({ msg, newline, colour, returnNoPrint }: LogArguments) => string; export declare const error: ({ msg, newline, colour, exitAfterError }: ErrorArguments) => void; export declare const warn: ({ msg, newline, colour, returnNoPrint }: LogArguments) => string; export declare const info: ({ msg, newline, colour, returnNoPrint }: LogArguments) => string; export {};