Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Make colourful bash strings
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
.npmignore
README.markdown
hello_darling.png
package.json
show_all.png
technicolor.js

README.markdown

Technicolor

Use node to remind you of Teletext.

Install

npm install technicolor

Use

var technicolor = require('technicolor');

var message = "Hello, Darling."
var prettyMessage = technicolor(message, {
  color           : 'red',
  backgroundColor : 'white',
  bold            : true,
  underline       : true
});

console.info(prettyMessage);

Possibilities

var technicolor = require('technicolor');
technicolor.showAll();

Supported Colours

  • black
  • red
  • green
  • yellow
  • blue
  • purple
  • cyan
  • darkGrey
  • lightGrey
  • brightRed
  • brightGreen
  • brightYellow
  • brightBlue
  • brightPurple
  • brightCyan
  • white
Something went wrong with that request. Please try again.