{"size": 169, "ext": "js", "max_stars_repo_path": "libs/billing-lib.js", "max_stars_repo_name": "AmoDinho/claim-backend-api", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "libs/billing-lib.js", "max_issues_repo_name": "AmoDinho/claim-backend-api", "max_issues_repo_issues_event_min_datetime": "2018-08-08T15:26:54.000Z", "max_issues_repo_issues_event_max_datetime": "2018-08-22T13:45:07.000Z", "max_forks_repo_path": "libs/billing-lib.js", "max_forks_repo_name": "AmoDinho/claim-backend-api", "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": 16.9, "max_line_length": 39, "alphanum_fraction": 0.5029585799}
export function calculateCost(storage){
    const rate = storage <= 15
      ? 8
      : storage <= 100
        ? 4
        : 1;

    return rate * storage * 100;
    
}