hamster js

JavaScript
Hamster(el).wheel(function(event, delta, deltaX, deltaY){
  console.log(delta, deltaX, deltaY);
});
    
Source

Also in JavaScript: