Syllabus/themes/sandpoints/node_modules/log-symbols
Marcell Mars fd78b9e4e3 initial sandpoints theme commit.. 2020-08-19 01:14:35 +02:00
..
browser.js initial sandpoints theme commit.. 2020-08-19 01:14:35 +02:00
index.js initial sandpoints theme commit.. 2020-08-19 01:14:35 +02:00
license initial sandpoints theme commit.. 2020-08-19 01:14:35 +02:00
package.json initial sandpoints theme commit.. 2020-08-19 01:14:35 +02:00
readme.md initial sandpoints theme commit.. 2020-08-19 01:14:35 +02:00

readme.md

log-symbols Build Status

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!');
// On good OSes:  ✔ Finished successfully!
// On Windows:    √ Finished successfully!

API

logSymbols

info

success

warning

error

License

MIT © Sindre Sorhus