std-terminal-loggerdeprecated

An easy use console print terminal with string styling.

Usage no npm install needed!

<script type="module">
  import stdTerminalLogger from 'https://cdn.skypack.dev/std-terminal-logger';
</script>

README

std-terminal-logger

NOTICE: This package was change name to chalk-ex and the name std-terminal-logger is no longer used.

An easy use console print terminal with string styling.

Installation

pnpm

pnpm add std-terminal-logger chalk

npm

npm i std-terminal-logger chalk

yarn

yarn add std-terminal-logger chalk

Usage

import { log, label, text } from 'std-terminal-logger';

log(label.green('Hello world!'), text.orange('Hello world!'));

use with the preset label

  • log
  • info
  • success
  • warn
  • error
import { log, label } from 'std-terminal-logger';

log(label.log, label.info, label.success, label.warn, label.error);

use with the preset color

  • red
  • pink
  • purple
  • deepPurple
  • indigo
  • blue
  • lightBlue
  • cyan
  • teal
  • green
  • lightGreen
  • lime
  • yellow
  • amber
  • orange
  • deepOrange
  • brown
  • gray
  • blueGray
  • white
  • black
import { log, label, text } from 'std-terminal-logger';

log(label.green('Foo'), text.green('bar'));

All color: