beatgammit / node-coordinator

Converts between GPS coordinate systems
Other
39 stars 14 forks source link

ES6 modules broken #9

Open ventralnet opened 6 years ago

ventralnet commented 6 years ago

If you are using ES6 modules, coordinator will not import

https://github.com/beatgammit/node-coordinator/blob/32e3a86698032426cfcc7d2c87767790c891416c/coordinator.js#L5

The line above will always return null (factory() passes in a null converter which is then returned)

ventralnet commented 6 years ago

Believe this is a duplicate of #8

beatgammit commented 6 years ago

Ugh. I might take a look at this soon. This library needs some work, so I might just overhaul the whole thing with some ES6 fixes.