{"size": 328, "ext": "js", "max_stars_repo_path": "src/console-once.js", "max_stars_repo_name": "navikt/dekoratoren-webpack-plugin", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/console-once.js", "max_issues_repo_name": "navikt/dekoratoren-webpack-plugin", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/console-once.js", "max_forks_repo_name": "navikt/dekoratoren-webpack-plugin", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.4285714286, "max_line_length": 50, "alphanum_fraction": 0.618902439}
const cache = {};
const consoleOnce = (message, severity) => {
  if (!cache[message]) {
    console[severity](message);
    cache[message] = true;
  }
};

module.exports = {
  warn: (message) => consoleOnce(message, 'warn'),
  log: (message) => consoleOnce(message, 'log'),
  info: (message) => consoleOnce(message, 'info'),
};
