1.1.3 • Published 4 years ago

@cyber_patrick/colorfullog v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Usage

Package have 4 methods:

1) log - Date + bold text; 2) success - Date + green "Success!" + bold text; 3) warning - Date + yellow "Warning! + bold text; 4) err - Date + red "Error!" + bold text.

Will write alt text

const { log, success, warning, err } = require('@cyber_patrick/colorfullog');
log('Hello World!');

Will write alt text

warning('Hello World!');

Will write alt text

success('Hello World!');

Will write alt text and stop programm

err('Hello World!');

Note: err - call process.exit()

Loading

Package have also an class Loading, to constructor you pass title, then to upgrade progress bar you should call pipe(progress, state). Which have two params, first is how much add to progress (1-100), second is how name process, may be passed

1.1.1

4 years ago

1.1.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.0.6

4 years ago

1.0.5

4 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