UNPKG

@radarlabs/s2

Version:

Node.js JavaScript and TypeScript bindings for the Google S2 geolocation library.

34 lines (22 loc) 901 B
## Version 0.0.6 - Support Node 22 & 24, minimum tested version is now 20 - Drop support for Node 16 & 18 ## Version 0.0.5 - Support Node 18 & 20, minimum tested version is now 16 - Update node-pre-gyp, node-addon-api, and node-gyp ## Version 0.0.4 - Added CellId.rangeMin & CellId.rangeMax (thanks to @mast) - Only test Node versions with LTS - Update s2geometry C++ lib to a4dddf40647c68cd0104eafc31e9c8fb247a6308 - add Earth support (thanks to @looksgood) - add Polyline support (thanks to @looksgood) - add LatLng#approxEquals (thanks to @looksgood) ## Version 0.0.3 - Expose Cell.getCenter method - Library upgrades - Publish pre-compiled libraries ## Version 0.0.2 - Introduce s2.RegionCoverer.getRadiusCovering methods that take a lat/lng and radius and generates a covering - Expose the Point & Cell class and Cell#getVertex method ## Version 0.0.1 - First release of @radarlabs/s2