UNPKG

itlog

Version:
18 lines (14 loc) 349 B
'use strict'; const itlog = function (message) { if (typeof process !== 'undefined' && process.stdout) { process.stdout.write(`${message}\n`); } else { console.log(`${message}\n`); } }; // $lab:coverage:off$ if (typeof module !== 'undefined' && module.exports) { module.exports = itlog; } // $lab:coverage:on$