Create /helpers directory

This commit is contained in:
Aleksandr Statciuk 2021-08-01 19:45:15 +03:00
parent f164c948ed
commit 16f409856e
8 changed files with 42 additions and 336 deletions

View file

@ -1,16 +0,0 @@
const log = {}
log.print = function (string) {
process.stdout.write(string)
}
log.start = function () {
this.print('Starting...\n')
console.time('\nDone in')
}
log.finish = function () {
console.timeEnd('\nDone in')
}
module.exports = log