implementation of standard compression algorithms, combined into a npm module