compression
compression copied to clipboard
Refactor shouldCompress function
Refactor shouldCompress function to use template literals for debug messages and const for variable declaration
Using ES6 syntax will require to drop support for all Node.js versions, so this PR can be included in the next major potentially.