node-normalize-range

Utility for normalizing a numeric range
  https://github.com/jamestalmage/normalize-range#readme
  0
  no reviews



This module can be used to normalize a value by bringing it within a given range of values.

This module also comes with a wrapping function useful for polar coordinates. For example, in a polar coordinate system, 270Ëš can also be represented as -90Ëš.

Node.js is an event-based server-side JavaScript engine.