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

npm
npm install leaflet
v1.9.4

Development activity

Commits per month to the default branch over the last 12 complete months.

02040 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep
02040 Oct 2025 Jan 2026 Apr Jul
184 commits from Oct 2025 to Sep 2026.
Show data as a table
Leaflet commits per month
MonthCommits
Oct 202520
Nov 202516
Dec 202521
Jan 202621
Feb 20269
Mar 202618
Apr 202621
May 202618
Jun 20261
Jul 202636
Aug 20260
Sep 20263

Popularity among JavaScript map & geospatial visualization libraries

GitHub stars for Leaflet and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
Leaflet45,702
Cesium15,798
Deck.gl14,623
OpenLayers12,602
MapLibre GL JS11,801
react-map-gl8,503
Potree5,628

Alternatives to Leaflet

  • Cesium

    WebGL 3D globes and maps.

    15.8K starsJavaScriptApache-2.0Leaflet vs Cesium

  • Deck.gl

    WebGL framework for visual exploratory data analysis of large datasets.

    14.6K starsTypeScriptMITLeaflet vs Deck.gl

  • OpenLayers

    Library for interactive web maps with support for many data sources, formats and projections.

    12.6K starsJavaScriptBSD-2-ClauseLeaflet vs OpenLayers

  • MapLibre GL JS

    WebGL-based interactive vector tile maps in the browser; community fork of Mapbox GL JS.

    11.8K starsTypeScriptBSD-3-ClauseLeaflet vs MapLibre GL JS

  • react-map-gl

    React components for MapLibre GL JS and Mapbox GL JS, maintained by vis.gl.

    8.5K starsTypeScriptMIT

  • Potree

    WebGL point cloud viewer for large datasets such as LiDAR scans.

    5.6K starsJavaScriptOther

More comparisons: Cesium vs Leaflet · Deck.gl vs Leaflet · Leaflet vs OpenLayers · Leaflet vs MapLibre GL JS

Leaflet FAQ

Is Leaflet open source?

Yes. Leaflet is released under the BSD-2-Clause license, and its source code is on GitHub.

Is Leaflet still maintained?

Yes. Leaflet is actively developed, with 184 commits in the last 12 months and the latest commit 15 days ago.

How do I install Leaflet?

From npm: npm install leaflet.

What are the best alternatives to Leaflet?

The most popular alternatives listed in JavaScript map & geospatial visualization libraries are Cesium, Deck.gl, and OpenLayers. See the full ranking.

What language is Leaflet written in?

Leaflet is primarily written in JavaScript, according to GitHub.

Data: GitHub API, npm. Updated Oct 4, 2026.