log-symbols
    Overview
    Documentation
    Tutorials
    Chat
    Insights
    Code
    Dependencies
    Contributors
    Jobs

log-symbols

Colored symbols for various log levels. Example: `✔︎ Success`

3.0.0  •  Updated 1 years ago  •  by Sindre Sorhus  •  MIT License

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

Popularity

Maintenance

Development

Last ver 1 year ago
Created 6 years ago
Last commit 10 months ago
2 months between commits

Technology

Node version: 8.15.0
4.1K unpacked

Compliance

MIT License
OSI Approved
0 vulnerabilities

Contributors

8 contributors
Sindre Sorhus
Maintainer, 17 commits, 9 merges
刘祺
4 commits, 7 PRs
Works at JuMei inc
Kevin Mårtensson
Maintainer, 1 merges
Works at imagemin yeoman
Kevin Goslar
1 commits, 1 PRs
Works at Originate Inc.
Manraj Singh
1 commits, 1 PRs
Works at Researcher midas-research
Brandon Smith
1 commits, 1 PRs

Tags

unicode
cli
cmd
command-line
characters
symbol
symbols
figure
figures
fallback
windows
log
logging
terminal
stdout
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
FacebookTwitterLinkedIn
© 2020 Devstore, Inc.