1.1.2 • Published 6 years ago

js-logs v1.1.2

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

js-logs

Brighten up your terminal with some colors.

Installation

npm install js-logs

Usage

var logger = require('js-logs');

console.log(logger.red(...));
  • Possible Methods (font colors):
logger.red(...);

logger.blue(...);

logger.green(...);

logger.yellow(...);

logger.cyan(...);

logger.white(...);

logger.magenta(...);

logger.gray(...);
  • Possible Methods (background colors):
logger.bgRed(...);

logger.bgBlue(...);

logger.bgGreen(...);

logger.bgYellow(...);

logger.bgCyan(...);

logger.bgWhite(...);

logger.bgMagenta(...);
  • Possible Methods (extras):
logger.ul(...); // Underlines text

logger.bold(...);

logger.blink(...); // Makes input blink

logger.clear(); // Clear the terminal
  • Possible Methods (logger):
logger.success(...);

logger.warn(...);

logger.error(...);

logger.info(...);
1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.2

6 years ago