@artiq/stylize
Version:
Lightweight terminal text stylizer with ANSI, RGB, HEX colors, multiple styling modes, and chainable proxy API.
18 lines (16 loc) • 322 B
JavaScript
/**
* List of supported text styling modes.
*
* Modes:
* - 'line': Apply style to the entire string.
* - 'sentence': Apply style per sentence.
* - 'word': Apply style per word.
* - 'char': Apply style per character.
*/
const styleModes = [
'line',
'sentence',
'word',
'char'
];
export default styleModes;