{"size": 175, "ext": "js", "max_stars_repo_path": "src/utils/validation.js", "max_stars_repo_name": "MuhaddiMu/github-profile-readme-generator", "max_stars_repo_stars_event_min_datetime": "2020-08-04T08:29:01.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-04T08:29:01.000Z", "max_issues_repo_path": "src/utils/validation.js", "max_issues_repo_name": "MuhaddiMu/github-profile-readme-generator", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/utils/validation.js", "max_forks_repo_name": "MuhaddiMu/github-profile-readme-generator", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.1666666667, "max_line_length": 60, "alphanum_fraction": 0.6228571429}
const isGithubUsernameValid = (username) => {
    var pattern = /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i
    return pattern.test(username)
}

export {isGithubUsernameValid};