log-symbols
Colored symbols for various log levels. Example: `✔︎ Success`
Last updated 10 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 (10 months ago)

7 Versions

  • 3.0.0                                ...           10 months ago
  • 2.2.0                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 1,084
This Week 185,350
This Month 568,710
Last Day 16,911
Last Week 197,596
Last Month 595,150
Dependencies (1)
Dev Dependencies (4)
Dependents (2074)

Copyright 2014 - 2016 © taobao.org |