{"size": 600, "ext": "js", "max_stars_repo_path": "config/dev/index.js", "max_stars_repo_name": "Amjad992/util992", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "config/dev/index.js", "max_issues_repo_name": "Amjad992/util992", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "config/dev/index.js", "max_forks_repo_name": "Amjad992/util992", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 46.1538461538, "max_line_length": 159, "alphanum_fraction": 0.7}
/** DO NOT USE THIS FUNCTION, IT'S FOR INTERNAL USE ONLY
 * Set a specific key inside a an object with a value
 * @param  {object} object - The parent object of the key
 * @param  {string} key - The key string
 * @param  {object} value - The value
 * @returns Return undefined if set successfully set, or throws an error if no value passed
 */
module.exports.setValue = (object, key, value) => {
  if (value) object[key] = value;
  else
    throw `parameter passed has no value! If you need to keep the current value, then you don't need to call this function.\nCurrent Value is: ${object[key]}`;
};
