Const
ANSI paint policy using Chalk for terminal color output Provides color wrapping using ANSI escape codes and standard newline handling
const colorized = ansi_policy.wrap('#FF5733', 'Hello World');console.log(colorized); // Outputs 'Hello World' in color Copy
const colorized = ansi_policy.wrap('#FF5733', 'Hello World');console.log(colorized); // Outputs 'Hello World' in color
ANSI paint policy using Chalk for terminal color output Provides color wrapping using ANSI escape codes and standard newline handling