Leaflet
JavaScript library for mobile-friendly interactive maps.
- Active
- BSD-2-Clause
- JavaScript
- JavaScript map & geospatial visualization libraries
- GitHub stars
- 45.7K#9 in the directory
- npm downloads / week
- 9.3M
- Commits, last 12 months
- 184
- Contributors
- 382
- Last commit
- Latest release
- v1.9.4May 18, 2023
Overview
Leaflet is an open-source JavaScript mapping library released under the BSD-2-Clause license. Its GitHub repository has 45,702 stars, 6,179 forks, and 382 contributors. It is actively developed with 184 commits in the last 12 months. The latest release, v1.9.4, was published on May 18, 2023. On npm it is downloaded about 9.3M times per week.
GitHub topics: javascriptleafletmaps
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Oct 2025 | 20 |
| Nov 2025 | 16 |
| Dec 2025 | 21 |
| Jan 2026 | 21 |
| Feb 2026 | 9 |
| Mar 2026 | 18 |
| Apr 2026 | 21 |
| May 2026 | 18 |
| Jun 2026 | 1 |
| Jul 2026 | 36 |
| Aug 2026 | 0 |
| Sep 2026 | 3 |
Popularity among JavaScript map & geospatial visualization libraries
Show data as a table
| Tool | Stars |
|---|---|
| Leaflet | 45,702 |
| Cesium | 15,798 |
| Deck.gl | 14,623 |
| OpenLayers | 12,602 |
| MapLibre GL JS | 11,801 |
| react-map-gl | 8,503 |
| Potree | 5,628 |
Alternatives to Leaflet
-
Cesium
WebGL 3D globes and maps.
-
Deck.gl
WebGL framework for visual exploratory data analysis of large datasets.
-
OpenLayers
Library for interactive web maps with support for many data sources, formats and projections.
-
MapLibre GL JS
WebGL-based interactive vector tile maps in the browser; community fork of Mapbox GL JS.
-
react-map-gl
React components for MapLibre GL JS and Mapbox GL JS, maintained by vis.gl.
-
Potree
WebGL point cloud viewer for large datasets such as LiDAR scans.
More comparisons: Cesium vs Leaflet · Deck.gl vs Leaflet · Leaflet vs OpenLayers · Leaflet vs MapLibre GL JS
Leaflet FAQ
Is Leaflet open source?
Is Leaflet still maintained?
How do I install Leaflet?
npm install leaflet.What are the best alternatives to Leaflet?
What language is Leaflet written in?
Data: GitHub API, npm. Updated Oct 4, 2026.