node package manager


Proj4js ported for Node.js without the asynchronous definition loading.


Synchronous Proj4js slimmed down for Node.js

Convert a WGS884 coordinate to SWEREF99 TM.

var proj4node = require('proj4node'),
    sweref = proj4node('+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs'),
    p = sweref.transform(proj4node.WGS84, {x:11.901, y:57.689});
$ git clone
$ cd proj4node
$ ./

Then read instructions from output.

Important to note, I have only removed functionality from the original Proj4js project. All the hard stuff (algorithms and parsing) is solely thanks to the authors of Proj4js.