Cutting Node.js Memory Footprint with HyperLogLog and Count-Min Sketch in TypeScript