add_seminar_task
v1.0.0
Published
Add task to your console with colored text & number. It helps you to split print of your work in console, to logically separate one task from another!
Downloads
1
Readme
Add task to seminar
This module helps you to separate different task in console, if you like to use one .js file, like me)))
Installation
npm install add_seminar_task
How to use
First way
const task = require('add_seminar_task');
task.showTask(1); // after we typing code as usual
// some code 1 here
console.log(resultCode1);
console.log(resultCode1);
task.showTask(2);
// some code 2 here
console.log(resultCode2);
console.log(resultCode2);
console.log(resultCode2);
Second way
const { showTask } = require('add_seminar_task');
showTask(1); // after we typing code as usual
// some code 1 here like sample in first way
Result in console
It will separate in one line your tasks & add text about number of task
**** Задание: №1 **** resultCode1 resultCode1
**** Задание: №2 **** resultCode2 resultCode2 resultCode2