chalk alternatives and similar packages
Based on the "System" category.
Alternatively, view chalk alternatives based on common mentions on social networks and blogs.
-
ghc-hotswap
Example code for how we swap compiled code within a running Haskell process. -
hapistrano
Deploy tool for Haskell applications, like Capistrano for Rails -
nix-deploy
Deploy software or an entire NixOS system configuration to another NixOS system -
optparse-generic
Auto-generate a command-line parser for your datatype -
typed-process
Alternative API for processes, featuring more type safety -
openssh-github-keys
Control SSH access to your servers via GitHub teams -
atomic-write
Writes files atomically in Haskell while preserving permissions -
system-fileio
Contains the system-filepath and system-fileio packages -
language-puppet
A library to work with Puppet manifests, test them and eventually replace everything ruby. -
ascii-progress
A simple Haskell progress bar for the console. Heavily borrows from TJ Holowaychuk's Node.JS project -
plugins
Dynamic linking and runtime evaluation of Haskell, and C, including dependency chasing and package resolution. -
directory-contents
Recursively build a tree of directory contents, avoiding symlink cycles
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of chalk or a related project?
README
chalk
Simple terminal string styling in Haskell, in the style of JavaScript's sindresorhus/chalk and sindresorhus/ansi-styles.
Installation
cabal install chalk
Usage
(Image borrowed from sindresorhus/ansi-styles.) Use any of the styling functions above to get the effect you want.
Since these are functions, you can compose them as you like.
import System.Console.Chalk
main = do
putStrLn $ green "This is going to be green."
putStrLn $ (underline . blue) "This is going to be blue and underlined."
The type of the styling functions is (Monoid m, IsString m) => m -> m
, so you
can use any type that has an instance of Monoid and IsString, which probably covers
what you will use this for.
License
MIT
*Note that all licence references and agreements mentioned in the chalk README section above
are relevant to that project's source code only.