Installing dependencies.

This commit is contained in:
2025-11-11 06:53:11 -05:00
parent 2c36c04da6
commit 0d2fea3c88
14371 changed files with 2770923 additions and 25 deletions
+23
View File
@@ -0,0 +1,23 @@
declare module 'ansi-to-html' {
interface ConverterOptions {
/** The default foreground color used when reset color codes are encountered. */
fg?: string
/** The default background color used when reset color codes are encountered. */
bg?: string
/** Convert newline characters to `<br/>`. */
newline?: boolean
/** Generate HTML/XML entities. */
escapeXML?: boolean
/** Save style state across invocations of `toHtml()`. */
stream?: boolean
/** Can override specific colors or the entire ANSI palette. */
colors?: string[] | {[code: number]: string}
}
class Convert {
constructor(options?: ConverterOptions)
toHtml(data: string): string
}
export = Convert
}