log-symbols
Colored symbols for various log levels. Example: `✔︎ Success`
Last updated 9 months ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install log-symbols 
SYNC missed versions from official npm registry.

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

Current Tags

  • 3.0.0                                ...           latest (9 months ago)

7 Versions

  • 3.0.0                                ...           9 months ago
  • 2.2.0                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 26,493
This Week 154,734
This Month 450,786
Last Day 30,654
Last Week 193,430
Last Month 877,156
Dependencies (1)
Dev Dependencies (4)
Dependents (2014)

Copyright 2014 - 2017 © taobao.org |