How to use the anser.linkify function in anser

To help you get started, we’ve selected a few anser 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 gitlabhq / gitlabhq / app / assets / javascripts / pipelines / components / pipeline_details.vue View on Github external
.then((resp) => {
                  const log = Anser.ansiToHtml(resp.bodyText, {use_classes: true});
                  const linkedLog = Anser.linkify(log);

                  this.store.storeLog(linkedLog.split('\n'));
                })
            })

anser

A low level parser for ANSI sequences.

MIT
Latest version published 23 days ago

Package Health Score

88 / 100
Full package analysis