What is on-headers?
"Execute a listener when a response is about to write headers"
on-headers is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 8.6 KB on disk.
Installation Guide
# Install via NPM
npm install on-headers
# Install via Yarn
yarn add on-headers