box

Render boxes in the terminal
README

    ╭─────────────────────────────────────────────────╮
    │                                                 │
    │   Render those kinds of boxes in the terminal   │
    │                                                 │
    ╰─────────────────────────────────────────────────╯

Render boxes in the terminal with OCaml or Reason.
Port of sindresorhus/boxen.

Features

  • Available on all major platform (Windows, Linux and Windows)

  • Render boxes with margin, padding and different borders

  • Alignment

  • Floating

  • No dependencies

Missing Features

  • ascii support

  • Border Color (and dimming)

Install with opam

opam pin https://github.com/davesnx/ocaml-box # Since isn't available on opam, you can install it pinning

Install with esy

esy add @opam/box
# Since isn't available yet you can install it from the repo `esy add https://github.com/davesnx/ocaml-box or adding a resolution commit`

Documentation

Documentation

Contributing

Take a look at our Contributing Guide.

Status

Install
Published
28 Sep 2022
Sources
1.2.0.tar.gz
md5=cbf16dadfbcf990070366e255e4708a7
sha512=44d791a884f1712c43aab312a0b2edf390bea473347d373c5c54c2c9110bc846aecf3e3b5d914b5967d4860f1a96456eafca55ea570092764937c9bf05d8ddd3
Dependencies
reason
build
odoc
with-doc
dune
>= "2.7"
ocaml
>= "4.08.0"
Reverse Dependencies