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

npm
npm install leaflet
v1.9.4

Development activity

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

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

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,953
Cesium15,964
Deck.gl14,769
OpenLayers12,664
mapcn12,400
MapLibre GL JS12,120
react-map-gl8,515

Alternatives to Leaflet

  • Cesium

    WebGL 3D globes and maps.

    16K starsJavaScriptApache-2.0Leaflet vs Cesium

  • Deck.gl

    WebGL framework for visual exploratory data analysis of large datasets.

    14.8K starsTypeScriptMITLeaflet vs Deck.gl

  • OpenLayers

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

    12.7K starsJavaScriptBSD-2-ClauseLeaflet vs OpenLayers

  • mapcn

    Map components for React built on MapLibre GL, styled with Tailwind and compatible with shadcn/ui.

    12.4K starsTypeScriptMITLeaflet vs mapcn

  • MapLibre GL JS

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

    12.1K 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

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?

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 358 commits in the last 12 months and the latest commit today.

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 Nov 18, 2026.