Usage const [print, debug, log, warn, alert] = require(boring-utils) Then: debug(No big deal) log(Hello) warn(Doesn't look good) alert(Oh no) Notes alert is the same as console.error however since error is used in catch(error) {} we use the different alert.