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

7 Versions

  • 3.0.0                                ...           6 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                                ...           5 years ago
Maintainers (1)
Downloads
Today 848
This Week 152,361
This Month 381,226
Last Day 28,496
Last Week 172,722
Last Month 701,012
Dependencies (1)
Dev Dependencies (4)
Dependents (1801)

Copyright 2014 - 2016 © taobao.org |