🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

console-colour

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-colour

Change your terminal output colour

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

NPM

Build Status

Console Colour

console-colour is a small package that can be used with node.js to control console output. The package can change the output text color.

###Installation

Install with npm to current directory:

  npm install console-colour --save

###Usage require package into your project:

  require('console-colour')(String);

or require package into your project:

  var cconsole = require('console-colour').color;

###Examples

  console.log("bold".bold);
  console.log(cconsole.bold("bold"));

It will print the string bold in bold at terminal.

For more usage ,please see examples/examples.js.

###LICENSE #####MIT

Keywords

color

FAQs

Package last updated on 16 Mar 2014

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