{"size": 478, "ext": "js", "max_stars_repo_path": "index.js", "max_stars_repo_name": "volt1c/emoji-logs", "max_stars_repo_stars_event_min_datetime": "2021-06-16T12:52:55.000Z", "max_stars_repo_stars_event_max_datetime": "2021-06-16T15:21:12.000Z", "max_issues_repo_path": "index.js", "max_issues_repo_name": "volt1c/emoji-logs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "index.js", "max_forks_repo_name": "volt1c/emoji-logs", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.7619047619, "max_line_length": 52, "alphanum_fraction": 0.5878661088}
const config = ({ 
  info = '✅', 
  error = '⛔️', 
  warn = '⚡', 
  debug = '🔍', 
  formatter = v => `[${v}]> ` 
}) => {
  const addPrefix = (consoleLog, emoji) => {
    const log = consoleLog
    return (msg) => log(`${formatter(emoji)}${msg}`)
  }
  console.info = addPrefix(console.info, info)
  console.error = addPrefix(console.error, error)
  console.warn = addPrefix(console.warn, warn)
  console.debug = addPrefix(console.debug, debug)
}

module.exports = {
  config,
}
