console-log.js

2.0.2 • Public • Published

console-log.js

console-log.js, is a simple Node.js package that allows you to customize console colors for better visual representation of logs.

Install Package

npm install console-log.js

Features

Supports various text colors. Provides options for background colors. Allows for text formatting.

Example

const { colors, backcolor } = require('console-log.js');

console.log(colors.yellow('Test with yellow'));
console.log(colors.bold("Bold Text"));
console.log(colors.underline("Underlined Text"));
console.log(colors.strikethrough("Strikethrough Text"));
console.log(colors.randomRainbow("Random Rainbow Text"));
console.log(backcolor.green('This is a green message with background color'));

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.2
    1
  • 2.0.1
    0
  • 2.0.0
    0
  • 1.0.2
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i console-log.js

Weekly Downloads

1

Version

2.0.2

License

ISC

Unpacked Size

9.99 kB

Total Files

5

Last publish

Collaborators

  • sekkena2