package box

  1. Overview
  2. Docs

ocaml-box

    ╭─────────────────────────────────────────────────╮
    │                                                 │
    │   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

Actions Status

OCaml

Innovation. Community. Security.