package ansi

  1. Overview
  2. Docs
ANSI escape sequence parser

Install

Dune Dependency

Authors

Maintainers

Sources

ansi-0.5.0.tbz
sha256=dda7678ee90c48dd58391328c4e5bb6607f38759260c4103b76412d53d069abd
sha512=b8e00e86ff55a3218c85be5fb57a5a2c615c291aa6425ed312f23e97e78aaf305c85b3ebba24ba37f276e7c74c2ad1736e7be51244e2bc7c599345f8f961f1d6

README.md.html

OCurrent ANSI escape parser

Program output (such as build logs) often includes ANSI escape codes to colour and style the output. These codes are intended for terminals and are distracting when displayed as text e.g. in web pages. This library inteprets some of the common codes and can convert them to HTML, producing basic styled output (e.g. highlighting errors in red).

It is intended to be used by OCurrent, but may be useful in other projects too.

Licensing

The OCurrent ANSI parser is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

OCaml

Innovation. Community. Security.