What do you think of the following
---
.on('data', (chunk) => chunks.push(chunk));await new Promise((res) => st.on('end', res));