5.0.2 • Published 3 years ago

@nickkaramoff/log-symbols v5.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

log-symbols

Chalk-free colored symbols for various log levels

Includes fallbacks for Windows CMD which only supports a limited character set.

HEADS UP!

This is a fork of sindresorhus' log-symbols. This should act as a drop-in replacement for this module. The only change is that the chalk dependency is replaced with colorette.

Install

$ npm install @nickkaramoff/log-symbols

Usage

import logSymbols from '@nickkaramoff/log-symbols';

console.log(logSymbols.success, 'Finished successfully!');
// Terminals with Unicode support:     ✔ Finished successfully!
// Terminals without Unicode support:  √ Finished successfully!

API

logSymbols

info

success

warning

error

Related

Licence

MIT © 2021 Nikita Karamov

MIT © 2021 Sindre Sorhus