package ansi
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=672b6a131eebc7d1291a4ad9ad4414a89e251e181e67e83b4ec90cb578e4a8a4
sha512=314bc4ef3ce6fd23dd46033478e6e9fd2307704697603b6d20354f4eaf69666b16c0bdd960e5b347f587465e60f42bb3f21ac1e266cdebd042709d9125791bf0
Description
This package provides a basic ANSI escape parser, allowing the OCurrent web UI to show logs in colour.
Added to opam-repository:
README
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.
Optional Dependencies
None
Used by (2)
-
current_web
>= "0.6.2" -
slipshow
>= "0.10.0"
Conflicts
None
Build status
Results of building ansi with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.7.0 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure