{"size": 889, "ext": "js", "max_stars_repo_path": "node_modules/aurelia-polyfills/src/string.js", "max_stars_repo_name": "andela-mbabalola/contact-manager", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "node_modules/aurelia-polyfills/src/string.js", "max_issues_repo_name": "andela-mbabalola/contact-manager", "max_issues_repo_issues_event_min_datetime": "2017-08-01T01:16:32.000Z", "max_issues_repo_issues_event_max_datetime": "2017-08-01T01:16:32.000Z", "max_forks_repo_path": "node_modules/aurelia-polyfills/src/string.js", "max_forks_repo_name": "andela-mbabalola/contact-manager", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 46.7894736842, "max_line_length": 134, "alphanum_fraction": 0.6467941507}
if ((!String.prototype.endsWith) || ((function() { try { return !("ab".endsWith("a",1)); } catch (e) { return true; } } )())) {
  String.prototype.endsWith = function(searchString, position) {
    let subjectString = this.toString();
    if (typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) {
      position = subjectString.length;
    }
    position -= searchString.length;
    let lastIndex = subjectString.indexOf(searchString, position);
    return lastIndex !== -1 && lastIndex === position;
  };
}

if ((!String.prototype.startsWith) || ((function() { try { return !("ab".startsWith("b", 1)); } catch (e) { return true; } } )())) {
  String.prototype.startsWith = function(searchString, position){
    position = position || 0;
    return this.substr(position, searchString.length) === searchString;
  };
}
