0.5.7 ā€¢ Published 2 months ago

beautlog v0.5.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months 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.7

2 months ago

0.5.6

3 months ago

0.5.5

3 months ago

0.5.4

4 months ago

0.5.3

4 months ago

0.5.2

5 months ago

0.5.1

5 months ago

0.4.9

6 months ago

0.4.8

7 months ago

0.4.7

9 months ago

0.5.0

6 months ago

0.4.6

10 months ago

0.4.4

2 years ago

0.4.1

2 years ago

0.3.1

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago