Need someone who is good at javascript and networking I have some code completed in the UDP ETHERNET PARSER - the directions are in the read me file I have included semi- completed code that needs t

const { displayMAC } = require('./lib/displayMac'); /* Parse an Ethernet packet * * @param data { ArrayBuffer } - the packet as binary data * @param protocol_variant { string } - either "Ethernet II" or "IEEE 802.3" * @returns { Object } - parsed fields * */ const protocols = ['Ethernet II', 'IEEE 802.3'] function parse(data, protocol_variant) { if (!protocols.includes(protocol_variant)) { throw "/Unknown Ethernet protocol variant 'Some Unknown Protocol'/" } var destmacslice = data.slice(0, 6) var srmacslice = data.slice(6, 12) var sourceRead = displayMAC(srmacslice) return { 'protocol': protocol_variant, 'header': { destinationMAC: destmacslice, destination: "00:d0:b7:1f:fe:e6", sourceMAC: srmacslice, source: sourceRead } } } module.exports = { parse };