{"size": 131, "ext": "js", "max_stars_repo_path": "root/static/scripts/edit/utility/isPositiveInteger.js", "max_stars_repo_name": "loujine/musicbrainz-server", "max_stars_repo_stars_event_min_datetime": "2015-01-15T12:18:50.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-16T20:41:57.000Z", "max_issues_repo_path": "root/static/scripts/edit/utility/isPositiveInteger.js", "max_issues_repo_name": "loujine/musicbrainz-server", "max_issues_repo_issues_event_min_datetime": "2015-04-16T01:00:29.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-30T15:08:46.000Z", "max_forks_repo_path": "root/static/scripts/edit/utility/isPositiveInteger.js", "max_forks_repo_name": "loujine/musicbrainz-server", "max_forks_repo_forks_event_min_datetime": "2015-01-04T08:39:41.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-10T17:09:59.000Z"}
{"max_stars_count": 577, "max_issues_count": 1227, "max_forks_count": 280, "avg_line_length": 16.375, "max_line_length": 35, "alphanum_fraction": 0.7022900763}
var regex = /^[1-9][0-9]*$/;

function isPositiveInteger(value) {
  return regex.test(value);
}

export default isPositiveInteger;
