[go: nahoru, domu]

tree: 8d1b117050f73a43bc5f20b6e0d0bd7c423cafa5 [path history] [tgz]
  1. node_modules/
  2. browser.js
  3. index.d.ts
  4. index.js
  5. license
  6. package.json
  7. readme.md
node_modules/log-symbols/readme.md

log-symbols

Colored symbols for various log levels

Includes fallbacks for Windows CMD which only supports a limited character set.

Install

$ npm install log-symbols

Usage

const logSymbols = require('log-symbols');

console.log(logSymbols.success, 'Finished successfully!');
// Terminals with Unicode support:     ✔ Finished successfully!
// Terminals without Unicode support:  √ Finished successfully!

API

logSymbols

info

success

warning

error

Related