Skip to content

Consdev to customize console terminal background text colors with identifiers.

License

Notifications You must be signed in to change notification settings

javercel/consdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Consdev

npm install consdev

Usage

NodeJS

const Consdev = new require('consdev');

const _consdev = new Consdev();
const Consdev = new _consdev;
Consdev.success('Hello Worlds');
Consdev.error('Hello Worlds');
Consdev.info('Hello Worlds');
Consdev.warning('Hello Worlds');
Consdev.suggest('Hello Worlds');

output

output4

Consdev.write('<comment>Hello Worlds</comment>');
Consdev.write('<success>Hello Worlds</success>');
Consdev.write('<warning>Hello Worlds</warning>');
Consdev.write('<info>Hello Worlds</info>');
Consdev.write('<error>Hello Worlds</error>');

output

output3

Consdev.setStyle('title', '0451a5', 'e3dcdc', 1, 'start', 'auto');
Consdev.write('<title>Hello Worlds</title>');

output

output2

Consdev.write('<bg=#27403c; fg=#ffffff; width=auto; padding=1; align=center;>Hello Worlds</>');

output

output4

About

Consdev to customize console terminal background text colors with identifiers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published