{"size": 179, "ext": "js", "max_stars_repo_path": "src/utils/get-active-tab.util.js", "max_stars_repo_name": "artem-tkachenko/chrome-extension-react", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/utils/get-active-tab.util.js", "max_issues_repo_name": "artem-tkachenko/chrome-extension-react", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/utils/get-active-tab.util.js", "max_forks_repo_name": "artem-tkachenko/chrome-extension-react", "max_forks_repo_forks_event_min_datetime": "2020-11-04T08:07:31.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-06T08:33:10.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 19.8888888889, "max_line_length": 56, "alphanum_fraction": 0.6089385475}
const getActiveTab = callback => {
    chrome.tabs.query({active: true}, ([activeTab]) => {
        debugger;
        callback(activeTab);
    })
};

export default getActiveTab;
