Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Jun 6, 2024 via pnpm

log-symbols 4.1.0

Colored symbols for various log levels. Example: `βœ”οΈŽ Success`
Package summary
Share
0
issues
1
license
8
MIT
Package created
10 Jul 2014
Version published
17 Mar 2021
Maintainers
1
Total deps
8
Direct deps
2
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
8 Packages, Including:
ansi-styles@4.3.0
chalk@4.1.2
color-convert@2.0.1
color-name@1.1.4
has-flag@4.0.0
is-unicode-supported@0.1.0
log-symbols@4.1.0
supports-color@7.2.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
β“˜ This is a list of log-symbols 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
chalk4.1.211.31 kBMIT
prod
is-unicode-supported0.1.01.84 kBMIT
prod

Visualizations

Frequently Asked Questions

What does log-symbols do?

Log-symbols is a powerful node package that provides colored symbols for various log levels. It's an ideal addition to your developer toolkit if you're looking to streamline your console logging with aesthetic and meaningful symbols. The symbols deliver an intuitive way to indicate info, success, warning, or error logs. A special aspect of log-symbols is the inclusion of fallbacks for Windows CMD to cater to its limited character set.

How do you use log-symbols?

Using log-symbols is quite straightforward. After successfully installing the package using npm install log-symbols, you can import it into your desired JavaScript file. Here's how you can use log-symbols for outputting a success message:

import logSymbols from 'log-symbols';

console.log(logSymbols.success, 'Finished successfully!');

On terminals with Unicode support, this will yield a tick symbol with the message "Finished successfully!". For terminals not supporting Unicode, an equivalent visual will be displayed.

Where are the log-symbols docs?

The documentation for log-symbols can be found directly in the README file of the package's GitHub repository. It gives valuable insights into how to install and use the package, along with enumerating the different symbols available. To dig deeper, you can visit the GitHub repository at https://github.com/sindresorhus/log-symbols.git. Alongside the repository README, exploring different issues and pull requests can also lend further understanding about the package's usage and limitations.