How to use the ansicolor.red function in ansicolor

To help you get started, we’ve selected a few ansicolor 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 SAP / fundamental-vue / tests / e2e / plugins / index.js View on Github external
error(message) {
      // eslint-disable-next-line no-console
      console.error(ansi.red(message))
      process.stdout.write(`\u0007`) // make some noise: `beep`
      return null
    }
  })

ansicolor

A JavaScript ANSI color/style management. ANSI parsing. ANSI to CSS. Small, clean, no dependencies.

Unlicense
Latest version published 9 months ago

Package Health Score

64 / 100
Full package analysis