{"size": 357, "ext": "js", "max_stars_repo_path": "index.js", "max_stars_repo_name": "georgiosgiatsidis/socket.io-msgpack-javascript", "max_stars_repo_stars_event_min_datetime": "2021-04-22T11:04:33.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-22T07:57:33.000Z", "max_issues_repo_path": "index.js", "max_issues_repo_name": "georgiosgiatsidis/socket.io-msgpack-javascript", "max_issues_repo_issues_event_min_datetime": "2021-04-26T10:13:56.000Z", "max_issues_repo_issues_event_max_datetime": "2021-06-16T12:05:21.000Z", "max_forks_repo_path": "index.js", "max_forks_repo_name": "georgiosgiatsidis/socket.io-msgpack-javascript", "max_forks_repo_forks_event_min_datetime": "2021-12-23T10:30:00.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-24T10:44:49.000Z"}
{"max_stars_count": 13, "max_issues_count": 6, "max_forks_count": 2, "avg_line_length": 27.4615384615, "max_line_length": 47, "alphanum_fraction": 0.6470588235}
const buildEncoder = require('./src/encoder');
const buildDecoder = require('./src/decoder');
const PacketType = require('./src/packetType');

exports.build = function (options = {}) {
    return {
        protocol: 5,
        Encoder: buildEncoder(options.encoder),
        Decoder: buildDecoder(options.decoder),
        PacketType: PacketType,
    };
};
