Nodejs Number Normalize norm(value, min, max)

Here you can find the source of norm(value, min, max)

Method Source Code

Math.norm = function(value, min, max) {
   return (value - min) / (max - min);
};