What is on-finished?
"Execute a callback when a request closes, finishes, or errors"
on-finished is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 13.4 KB on disk.
Installation Guide
# Install via NPM
npm install on-finished
# Install via Yarn
yarn add on-finished