1.1.1 • Published 3 years ago

bumburum v1.1.1

Weekly downloads
17
License
ISC
Repository
github
Last release
3 years ago

Bumburum

Build Status NPM version dependencies Status devDependencies Status

Changing the color of text in the console is very easy, especially if you use bumburum

bumburum

Install

npm i bumburum

Usage

JavaScript

const colors = require('bumburum');

// font color
console.log(`test: ${colors.font.Green}`,  `Any text`);

// background color
console.log(`test: ${colors.background.Green}`, `Any text`);

// two or more colors
console.log(
    `Using ${colors.font.Red} ${colors.background.Green} ${colors.font.Blue} ${colors.font.Yellow}`,

    'two',
    'OR',
    'more',
    'colors'
);

TypeScript

import colors from 'bumburum';


console.log(`test: ${colors.font.Green}`,  `Any text`);
console.log(`test: ${colors.background.Green}`, `Any text`);

Result: bumburum

Colors support

Font

colors.font.Black,
colors.font.Red,
colors.font.Green,
colors.font.Yellow,
colors.font.Blue,
colors.font.Magenta,
colors.font.Cyan,
colors.font.White,

Background

colors.background.Black,
colors.background.Red,
colors.background.Green,
colors.background.Yellow,
colors.background.Blue,
colors.background.Magenta,
colors.background.Cyan,
colors.background.White,
1.1.1

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago