Module

Choku.Stderr

Package
purescript-choku
Repository
m15a/purescript-choku

Chalk in Effect. This module is for the STDERR stream.

For more information, see the document of module Choku.Stdout.

See also

#choku Source

choku :: Effect Choku

Get the default chalk instance for STDERR, automatically detecting the level of color support.

#supportsColor Source

supportsColor :: Effect { has16m :: Boolean, has256 :: Boolean, hasBasic :: Boolean, level :: Int }

Provide detailed information of the color support level.

See https://github.com/chalk/chalk#supportscolor.

#withStyle Source

withStyle :: String -> Style -> Effect String

Modify a string, using the default chalk for STDERR, with the given style.

#(&:) Source

Operator alias for Choku.Stderr.withStyle (non-associative / precedence 7)

#(:&) Source

Operator alias for Choku.Stderr.withStyleFlipped (non-associative / precedence 7)