Colored symbols for various log levels
JavaScript
Switch branches/tags
Permalink
Failed to load latest commit information.
.editorconfig init Jul 10, 2014
.gitattributes init Jul 10, 2014
.gitignore init Jul 10, 2014
.jshintrc init Jul 10, 2014
.travis.yml Update .travis.yml Feb 8, 2015
index.js remove hidden unicode character - fixes #1 Sep 24, 2014
license init Jul 10, 2014
package.json 1.0.2 Feb 24, 2015
readme.md Reference related sindresorhus/figures project (#3) Sep 11, 2016
screenshot.png init Jul 10, 2014
test.js remove hidden unicode character - fixes #1 Sep 24, 2014

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 --save log-symbols

Usage

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

console.log(logSymbols.success, 'finished successfully!');
// On real OSes:  ✔ finished successfully!
// On Windows:    √ finished successfully!

API

logSymbols

info

success

warning

error

Related

  • figures - Unicode symbols with Windows CMD fallbacks

License

MIT © Sindre Sorhus