mirror of
https://github.com/thangisme/notes.git
synced 2024-09-07 05:54:16 -04:00
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
log-symbols ![Build Status](https://travis-ci.org/sindresorhus/log-symbols.svg?branch=master)
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