16
33%
BSD-2-Clause
neglectedBuckleScript interface to the node 'chalk' library

bs-chalk

version downloads license

BuckleScript tools for working with the Node chalk library.

Example

  • RE
  • ML
Js.log(
  Chalk.red("Express listen error: ")
  ++ Js.Option.getWithDefault("(no message)", Js.Exn.message(err))
)
let _ =
  Js.log
    ((Chalk.red "Express listen error: ") ^
       (Js.Option.getWithDefault "(no message)" (Js.Exn.message err)))

License

BSD 2-Clause