code: function writeToConsoleOrStderr(message) {
  	if (typeof console == 'object' && typeof console.warn == 'function')
  		console.warn(message);
  	else if (typeof process == 'object' && typeof process.stderr == 'object' && typeof process.stderr.write == 'function')
  		process.stderr.write(message);
  	else
  		throw new Error(message);
  }
docs: ^ Send message to browser console or CLI stderr