0.5.9 • Published 1 year ago

beautlog v0.5.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Getting started

Installation

npm i beautlog

or

Installation

yarn add beautlog

Usage

const Console = require('beautlog');

Console.trace('Trace');//change the level to use trace
Console.success('Success');
Console.ok('Ok');//success alias
Console.debug('Debug');
Console.info('Info');
Console.warning('Warning');
Console.warn('Warn');//warning alias
Console.error('Error');

or

import Console from 'beautlog';

Console.WriteLine('Hello World');
Console.trace('Trace');
Console.success('Success');
Console.ok('Ok');
Console.debug('Debug');
Console.info('Info');
Console.warning('Warning');
Console.warn('Warn');
Console.error('Error');

or

import { puts, print, printf, log, debug } from 'beautlog';

puts('Hello World');
print('Hello World');
printf('Hello World');
log('Hello World');
debug('Hello World');

Input usage

import Console, { input } from 'beautlog';

const myValue = input('Insert an value:');

//or:
const mySecondValue = Console.ReadLine('Insert an second value:');

//result:
Console.Write(`${myValue} and ${mySecondValue}`);

Clone this repository: git clone https://github.com/hebertcisco/beautlog

Open the directory and run the script line:

cd beautlog && npm i && rm -rf .git && git init

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Show your support

Give a ā­ļø if this project helped you!

Or buy me a coffee šŸ™ŒšŸ¾

šŸ“ License

Copyright Ā© 2023 Hebert F Barros. This project is MIT licensed.

0.5.8

1 year ago

0.5.9

1 year ago

0.5.7

1 year ago

0.5.6

1 year ago

0.5.5

1 year ago

0.5.4

1 year ago

0.5.3

1 year ago

0.5.2

2 years ago

0.5.1

2 years ago

0.4.9

2 years ago

0.4.8

2 years ago

0.4.7

2 years ago

0.5.0

2 years ago

0.4.6

2 years ago

0.4.4

3 years ago

0.4.1

3 years ago

0.3.1

4 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago