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) 57 B
export default function (x) { return x < 0 ? -1 : 1; }