diff --git a/scripts/log.js b/scripts/log.js new file mode 100644 index 0000000000..a4b580cc87 --- /dev/null +++ b/scripts/log.js @@ -0,0 +1,16 @@ +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