package ansi-parse

  1. Overview
  2. Docs
Escape sequences to HTML

Install

Dune Dependency

Authors

Maintainers

Sources

ansi-parse-0.3.0.tbz
sha256=b2a3a8f5e597bb3c0d38f7ab6b3287af11aa0a95caf9cf5c7d9b967fa4b49794
md5=b69eb4375c918be7cddd2e744eec636d

README.md.html

Ansiparse - Escape sequences to HTML

%%1.0.2%%

Ansiparse is a library for converting raw terminal output, replete with escape codes, into formatted HTML.

Ansiparse is distributed under the ISC license.

Homepage: https://github.com/jdjakub/ansi-parse Contact: Joel Jakubovic <jdj27@cam.ac.uk>

Installation

ansi-parse can be installed with opam:

opam install ansi-parse

If you don't use opam consult the opam file for build instructions.

Documentation

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.

Sample programs

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 test directory of the distribution. They can be built with:

ocamlbuild -use-ocamlfind test/tests.otarget

The resulting binaries are in _build/test.

  • test.native tests the library, nothing should fail.

OCaml

Innovation. Community. Security.