neilime / ansi-escapes-to-html
Convert ANSI escapes (terminal formatting/color codes) to HTML
Fund package maintenance!
neilime
Installs: 1 647
Dependents: 1
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
Requires (Dev)
- pcov/clobber: ^2.0
- phpunit/phpunit: ^9.6.19
README
ANSI escapes to Html
📢 ANSI escapes to Html is a php script that convert ANSI escapes (terminal formatting/color codes) to HTML markup:
\e[40;38;5;82m Hello \e[30;48;5;82m World
Became
<span style="font-weight:normal;text-decoration:none;color:rgb(95,255,0);background-color:Black;" > Hello </span> <span style="font-weight:normal;text-decoration:none;color:Black;background-color:rgb(95,255,0);" > World </span>
Helping Project
❤️ If this project helps you reduce time to develop and/or you want to help the maintainer of this project. You can sponsor him. Thank you !
Contributing
👍 If you wish to contribute to this project, please read the CONTRIBUTING.md file. Note: If you want to contribute don't hesitate, I'll review any PR.