es-constants
An ES-spec-compliant shim/polyfill/replacement for JS language Math and Number constant values that works as far down as ES3
@vicimpa/math
A collection of mathematical utility functions including operations like clamp, lerp, normalize, and more.