1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-22 20:16:54 -05:00
notes/node_modules/log-symbols
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00
..
index.js Initial commit 2017-03-09 13:16:08 -05:00
license Initial commit 2017-03-09 13:16:08 -05:00
package.json Initial commit 2017-03-09 13:16:08 -05:00
readme.md Initial commit 2017-03-09 13:16:08 -05:00

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

License

MIT © Sindre Sorhus