flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
23
BACK_BACK/node_modules/ansi-to-html/lib/ansi_to_html.d.ts
generated
vendored
Executable file
23
BACK_BACK/node_modules/ansi-to-html/lib/ansi_to_html.d.ts
generated
vendored
Executable 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue