UNPKG

proj4

Version:

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

4 lines (3 loc) 74 B
export default function (x) { return Math.log((x - 1) / (x + 1)) / 2; }