function estimateEmissions(bytes) {
const oneByte = new tgwf.co2({ model: '1byte' })
const oneByteEstimate = oneByte.perByte(bytes).toFixed(5)
const swd = new tgwf.co2({ model: 'swd' })
const swdPerByteEstimate = swd.perByte(bytes).toFixed(5)
const swdPerVisitEstimate = swd.perVisit(bytes).toFixed(5)
return [
{oneByteEstimate,
swdPerByteEstimate,
swdPerVisitEstimate }
]
}