Leaflet
JavaScript library for mobile-friendly interactive maps.
- Active
- BSD-2-Clause
- JavaScript
- JavaScript map & geospatial visualization libraries
- GitHub stars
- 46K#9 in the directory
- npm downloads / week
- 11.8M
- Commits, last 12 months
- 358
- Contributors
- 387
- 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,953 stars, 6,329 forks, and 387 contributors. It is actively developed with 358 commits in the last 12 months. The latest release, v1.9.4, was published on May 18, 2023. On npm it is downloaded about 11.8M times per week.
Its GitHub description: 🍃 number one JavaScript library for interactive maps 🇺🇦
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 |
|---|---|
| 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 |
| Oct 2026 | 194 |
Popularity among JavaScript map & geospatial visualization libraries
Show data as a table
| Tool | Stars |
|---|---|
| Leaflet | 45,953 |
| Cesium | 15,964 |
| Deck.gl | 14,769 |
| OpenLayers | 12,664 |
| mapcn | 12,400 |
| MapLibre GL JS | 12,120 |
| react-map-gl | 8,515 |
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.
-
mapcn
Map components for React built on MapLibre GL, styled with Tailwind and compatible with shadcn/ui.
-
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.
More comparisons: Cesium vs Leaflet · Deck.gl vs Leaflet · Leaflet vs OpenLayers · Leaflet vs mapcn · 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 Nov 18, 2026.