New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

console-styles

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-styles

a styled console logger with no dependencies

  • 0.0.7
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

About

console styles is a simple package for logging information to the console that is coloured/styled in anyway you like. Side note, not all styles and colours will work depending on what system you are running so be weary. I made this because I was messing around with JavaScript Proxy objects and I liked the idea of incorporating console.log into it rather than wrapping it around a styled string

Example

const styler = require("console-styles");

// log underlined red text to the console
styler.red.underline.log("hola amigos");

// log black text with cyan background to the console
styler.black.bgCyan.log("wow");

Keywords

FAQs

Package last updated on 23 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc