geolib
Lightweight dependency-free geospatial operations library for JavaScript, providing haversine distance between coordinates, bounding box and center calculation, point-in-polygon tests, bearing, destination point and interpolation helpers for location-based apps, route summaries and nearby-location features.
geolib on GitHub manuelbieh/geolib is a free MIT lightweight dependency-free geospatial operations library for JavaScript, npm geolib 4.0.2 no declared Node engines, haversine distance between coordinates bounding box and center calculation point-in-polygon tests bearing destination point and interpolation helpers, zero dependencies zero peer, no sold commercial tier (data as of Nov 23, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is geolib free?
geolib: geolib is free open-source software released under the MIT license; the geolib package latest 4.0.2 on npm has no declared Node engines, published Nov 7, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is geolib free?
The code is free to self-host, but a hosted plan from the vendor may not be. geolib publishes its source, so cost depends on where you run it.
How much does geolib cost?
geolib is free open-source software released under the MIT license; the geolib package latest 4.0.2 on npm has no declared Node engines, published Nov 7, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check geolib's current pricing?
On geolib's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is geolib?
The library exposes small coordinate math functions that accept latitude and longitude pairs and return distances in meters, bounding boxes, centroids or bearings. Point-in-polygon checks test whether a coordinate falls inside an area, and destination and interpolation helpers project along a bearing or split a line between two points; with no runtime dependencies it fits into client-side location features and server-side location filtering alike.
How does pricing work?
The package installs free under its MIT license with no seat license; it bundles into the frontend app or runs in-process, and any commercial support or managed service would be outside the open-source project.
How does geolib compare with other tools in Dev Workflow & Productivity?
geolib is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| geolib | Open source | geolib is free open-source software released under the MIT license; the geolib package latest 4.0.2 on npm has no declared Node engines, published Nov 7, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). | Nov 23, 2026 |
| Turf | Open source | Turf is free open-source software released under the MIT license; the @turf/turf package latest 7.4.0 on npm has no declared Node engines, published Aug 3, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). | Nov 23, 2026 |
| Martinez Polygon Clipping | Open source | Martinez Polygon Clipping is free open-source software released under the MIT license; the martinez-polygon-clipping package latest 0.9.1 on npm has Node engines at least 22, published Nov 8, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). | Nov 23, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
geolib's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: geolib is free open-source software released under the MIT license; the geolib package latest 4.0.2 on npm has no declared Node engines, published Nov 7, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Turf
JavaScript geospatial analysis toolkit that operates on GeoJSON, covering distance and area measurement, buffering, centroids, intersections, unions, clipping, clustering, point grids, voronoi, simplification and boolean predicates, with modular packages composable into one bundled entry for mapping and location applications.
Martinez Polygon Clipping
Polygon boolean clipping library implementing the Martinez polygon clipping algorithm, computing intersection, union, difference and xor results for polygon and multipolygon geometries with robust floating-point predicates, used to combine and split vector shapes in GIS and map rendering tools.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 23, 2026
