UNPKG

proj4

Version:

Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.

7 lines (5 loc) 111 B
export default function (x) { var y = 1 + x; var z = y - 1; return z === 0 ? x : x * Math.log(y) / z; }