• Creates a styled string builder

    Parameters

    • value: Stringifiable

      any object that implements the tostring() method including ConsoleStyle

    Returns ConsoleStyle

    • A builder for styled strings.

    Function

    style

    Example

    const message = style('Hello there! 👋').cyan().bold()
    console.log(message.toString())

Generated using TypeDoc