How to use the ansi-to-html.default function in ansi-to-html

To help you get started, we’ve selected a few ansi-to-html examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DonJayamanne / pythonVSCode / src / datascience-ui / interactive-common / cellOutput.tsx View on Github external
private static get ansiToHtmlClass(): ClassType {
        if (!CellOutput.ansiToHtmlClass_ctor) {
            // ansiToHtml is different between the tests running and webpack. figure out which one
            // tslint:disable-next-line: no-any
            if (ansiToHtml instanceof Function) {
                CellOutput.ansiToHtmlClass_ctor = ansiToHtml;
            } else {
                CellOutput.ansiToHtmlClass_ctor = ansiToHtml.default;
            }
        }
        return CellOutput.ansiToHtmlClass_ctor!;
    }

ansi-to-html

Convert ansi escaped text streams to html.

MIT
Latest version published 3 years ago

Package Health Score

70 / 100
Full package analysis

Popular ansi-to-html functions