{"size": 280, "ext": "js", "max_stars_repo_path": "packages/cli/src/utils/log/info.js", "max_stars_repo_name": "serveside/ssr-aas", "max_stars_repo_stars_event_min_datetime": "2020-09-01T16:52:36.000Z", "max_stars_repo_stars_event_max_datetime": "2020-09-01T18:30:49.000Z", "max_issues_repo_path": "packages/cli/src/utils/log/info.js", "max_issues_repo_name": "serveside/serveside", "max_issues_repo_issues_event_min_datetime": "2020-09-02T20:43:16.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T10:30:44.000Z", "max_forks_repo_path": "packages/cli/src/utils/log/info.js", "max_forks_repo_name": "serveside/ssr-aas", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": 282, "max_forks_count": null, "avg_line_length": 17.5, "max_line_length": 43, "alphanum_fraction": 0.6178571429}
import { green, bgBlue } from 'chalk';

const { log } = console;

const info = green;
const infoBg = bgBlue;
const logInfo = (message, repl = null) => {
  if (repl) {
    log(infoBg(info(message)), repl);
  } else {
    log(infoBg(info(message)));
  }
};

export default logInfo;
