{"size": 474, "ext": "js", "max_stars_repo_path": "redisStreamsUtils/getKeyValues.js", "max_stars_repo_name": "bitcoin-api/redis-streams-utils", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "redisStreamsUtils/getKeyValues.js", "max_issues_repo_name": "bitcoin-api/redis-streams-utils", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "redisStreamsUtils/getKeyValues.js", "max_forks_repo_name": "bitcoin-api/redis-streams-utils", "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": 16.3448275862, "max_line_length": 58, "alphanum_fraction": 0.4789029536}
'use strict';


module.exports = Object.freeze( ({
    
    keyValueList,
    numberKeys = []

}) => {

    const keyValues = {};

    for( let i = 0; i < keyValueList.length; i = i + 2 ) {

        const key = keyValueList[ i ];
        const value = keyValueList[ i + 1 ];

        if( numberKeys.includes( key ) ) {

            keyValues[ key ] = Number( value );
        }
        else {

            keyValues[ key ] = value;
        }
    }

    return keyValues;
});