Published: 25 Feb 2022
Ansiparse - Escape sequences to HTML
Ansiparse is a library for converting raw terminal output, replete with escape codes, into formatted HTML.
Ansiparse is distributed under the ISC license.
Original Author: Joel Jakubovic
Maintainer: Jonah Beckford
ansi-parse can be installed with
opam install ansi-parse
If you don't use
opam consult the
opam file for build instructions.
The documentation and API reference is automatically generated by
ocamldoc from the interfaces. It can be consulted online and there is a generated version in the
doc directory of the distribution.
If you installed ansi-parse with
opam sample programs are located in the directory
opam config var ansi-parse:doc.
In the distribution sample programs and tests are located in the main and
driver directories of the distribution. They can be built and run with:
OCAMLRUNPARAM=b dune build -p ansi-parse @runtest
The resulting binaries are:
Build, test and pin your locally checked out repository with:
opam install . --verbose --with-test --with-doc
Your changes, if any, must be
git commit-ed for opam install to see your changes.