ansi_up.d.ts 447 B

12345678910111213141516171819
  1. // Type definitions for ansi-to-html v.0.4.1
  2. // Project: https://github.com/rburns/ansi-to-html
  3. // Definitions by: Steven Silvester <https://github.com/blink1073>
  4. declare module "ansi_up" {
  5. export
  6. function escape_for_html(txt: string): string;
  7. export
  8. function linkify(txt: string): string;
  9. export
  10. function ansi_to_html(txt: string, options?: any): string;
  11. export
  12. function ansi_to_text(txt: string): string;
  13. }