Bolshakova Anna ab21a11190 lab 2 周之前
..
node_modules ab21a11190 lab 2 周之前
browser.js ab21a11190 lab 2 周之前
index.js ab21a11190 lab 2 周之前
license ab21a11190 lab 2 周之前
package.json ab21a11190 lab 2 周之前
readme.md ab21a11190 lab 2 周之前

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

Related

License

MIT © Sindre Sorhus