Create /helpers directory

This commit is contained in:
Aleksandr Statciuk committed 2021-08-01 19:45:15 +03:00
1 parent cb1b7f3119
commit ffdc9d3771
8 files changed
+42 -336

No files matched your search

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