Chalk-like API for Node native terminal text styling.
npm install kreda --save
import kreda from 'kreda';
console.log( kreda.blue( 'Some blue text' ) );
console.log( kreda.bgBlack.green.underline( 'Some green underlined text on a black background' ) );
console.log( kreda.blue( 'Hello,', 'world!' ) );
// ↑ The same as
console.log( kreda.blue( 'Hello, world!' ) );
Refer to Node's documentation for list of all available modifiers.
See LICENSE file for details.