Elestia Open Source Ratings
7.4

PMTiles

A strong pick. 7th of 8 map libraries.

PMTiles is a single-file archive format for map tiles, and the pmtiles package reads it in the browser or Node over HTTP range requests. You add it to MapLibre, Leaflet or OpenLayers; it does not draw maps itself. It is the leading way to host your own basemap or tile layers on static storage with no tile server, but most of it rests on one maintainer.

Best for: Teams that want to serve their own vector or raster tiles from S3, R2 or a CDN, with no tile server and no API key.

WebsiteGitHubnpm

Scores

Overall7.4

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

This is the clear best pick for one named job: hosting your own tiles on static storage, used next to MapLibre, Leaflet or OpenLayers. It is not a general map library, so most readers of this category still need a renderer first. Its reliance on one main maintainer and a reach that comes mostly through other tools keep it from scoring higher.

GPT-6.2 Sol: 7.7, likely 6.6 to 8.7

PMTiles is a strong pick for a new project that wants to serve prebuilt tiles from static storage. Its typed reader, straightforward MapLibre integration, and use in Overture Explorer support that choice. MapLibre GL JS and Leaflet cover the broader job of building an interactive map. Hosting behavior and reliance on one lead maintainer account for most of the uncertainty.

Needed by many3.2

How many developers need a tool for this job?

Claude Opus 5.5: 3.0, likely 2.0 to 4.5

Only developers who host their own map tiles need it. That is a clear niche inside the group that builds web maps. Most map users take hosted tiles from a provider and never touch a tile archive.

GPT-6.2 Sol: 3.3, likely 2.3 to 4.4

PMTiles serves teams that need to package and host their own prebuilt map tiles. It works with several renderers, but map interaction and spatial analysis still need other libraries. The available surveys give little basis for estimating how many JavaScript and TypeScript developers need this workflow.

Helps a lot8.2

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It does its narrow job very well. One file on static storage serves tiles through range requests, and the client is small, typed and has plug-in protocols for MapLibre and Leaflet. It is the clear leader for serverless tile hosting. It still needs a renderer and careful CORS and range-request setup on the host.

GPT-6.2 Sol: 8.3, likely 7.2 to 9.2

Version 4.5.0 is a capable typed reader and cancels pending directory reads when the map no longer needs them. MapLibre's example and integration guide give developers and coding agents a clear setup to follow. Read-only archives limit frequent updates, and users have reported hosting-specific failures, including a GitHub Pages issue closed in March 2026. Browser speed depends on the host and its caching, and the independent benchmark measures tile servers.

Holds up over time6.8

Will it still be a good choice in two years?

Claude Opus 5.5: 6.5, likely 5.0 to 8.0

Work is steady: 45 commits and 5 npm versions in the last year, the latest in August 2026, and few open issues. The spec is stable, and the project says it has no plans for a v4. Most of the work comes from one main maintainer and the Protomaps business. Wide support in GDAL, MapLibre and Mapbox makes the format likely to last even if the JS client slows down.

GPT-6.2 Sol: 7.0, likely 5.8 to 8.2

Five npm updates and 45 repository commits in a year show ongoing maintenance at a quieter pace than MapLibre GL JS or OpenLayers. The project has received funding from Felt and NLnet, and it still depends heavily on one lead maintainer. The open format and independent tooling make the archives a durable choice, although the v4 reader dropped support for v2 files.

  • npm.versionsLastYear, npm.latestPublishedAt: Five npm versions in the past year, most recently in August 2026.
  • github.commitsLastYear, github.releasesLastYear, peers: 45 commits across the shared repository and zero GitHub releases. Most peers had more commits.
  • protomaps.com/about: Identifies one primary maintainer and says GitHub sponsorship covers infrastructure.
  • felt.com/open-source: Felt reports funding PMTiles development.
  • nlnet.nl/project/Protomaps: Confirms the Protomaps grant.
  • github.com/protomaps/PMTiles/blob/main/js/CHANGELOG.md: Documents that the v4 JavaScript reader dropped support for v2 archives.
Used widely4.4

How many use it, and is that growing?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

Downloads rose about 22x in a year, from 409k to 9.1M, far above the 4.1 median. Only 81 repositories and 27 packages show up as dependents, though, so most installs probably come through other tools such as loaders.gl rather than direct choices. Direct use is likely in the thousands to tens of thousands of projects and growing, but the size of the transitive share keeps the range wide.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 9.08M against 409k a year earlier, a ratio of about 22
  • dependents: 81 repos and 27 packages, far fewer than map-library peers
  • github stars: 3.3k stars, low compared with the peers
  • cdn.jsdelivr.net/npm/@loaders.gl/pmtiles@4.4.1/package.json: loaders.gl depends on pmtiles, a source of transitive installs

GPT-6.2 Sol: 4.2, likely 2.8 to 5.7

Four-week npm downloads rose from 409,000 to 9.08 million, about 22.2-fold against a 4.1-fold catalog median. FirstSited also detected PMTiles on 233 new sites in a month, up from 90 in the previous month. The dependency index sees just 81 repositories and 27 packages, far below the renderer peers, and the 3,279 stars cover several implementations. Automated installs can inflate npm totals, while CDN use can escape npm counts, so the number of projects choosing it remains uncertain.

  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: The download ratio led the supplied category peers and exceeded the catalog median.
  • dependents, peers: 81 indexed repositories and 27 packages. MapLibre GL JS has 1,681 indexed repositories and Leaflet has 50,451.
  • github.stars, bluesky.posts: 3,279 stars and 11 Bluesky posts measure attention to the shared repository.
  • firstsited.com/tech/pmtiles: Detected PMTiles on 233 recent site launches through November 20, up from 90 in the previous month.
  • maplibre.org/flutter-maplibre/docs/getting-started/platforms: Documents loading PMTiles directly from jsDelivr.
Vouched for7.3

Who stands behind it being good?

Claude Opus 5.5: 6.5, likely 5.0 to 8.0

Outside projects with something at stake build on it. Mapbox GL JS added native PMTiles sources, MapLibre ships official examples, and GDAL, QGIS and loaders.gl read the format. It also shows up in public projects and the cloud-native geospatial community. There are no surveys or independent benchmarks of the JS client.

GPT-6.2 Sol: 8.0, likely 6.8 to 9.0

Overture Explorer depends directly on the JavaScript package, and MapLibre GL JS maintains an official integration example. Felt uses the format for its upload feature, and Foursquare Studio supports its vector tiles. Independent server benchmarks add support for the format, while browser performance and developer retention have less direct evidence.

Safe7.6

How safe is it to depend on?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

OSV lists no advisories. The package has one dependency (fflate) and a permissive BSD-3-Clause licence on npm. There is no OpenSSF Scorecard, the repository has no licence field set on GitHub, and releases probably come from one publisher, so the score is not higher.

  • advisories total: No known advisories
  • npm dependencies / license: One dependency, BSD-3-Clause
  • scorecard: No Scorecard data
  • github license: No licence detected at the repository level

GPT-6.2 Sol: 7.7, likely 6.3 to 8.9

The npm package uses the permissive BSD-3-Clause license, pulls in one runtime dependency, and has zero recorded OSV advisories. GitHub lists no repository security policy, and npm identifies one visible publisher for 4.5.0. The missing Scorecard and unverified release provenance and publisher permissions widen the range.

Good

  • Lets you serve a whole basemap from one static file on cheap object storage, with no tile server.
  • The JS client is small (about 8 KB gzipped in v4), ships its own TypeScript types and has one dependency.
  • Wide support across the ecosystem: MapLibre's official examples, Mapbox GL JS native support, GDAL/QGIS and loaders.gl.
  • There are matching implementations in Go, Python, C++ and Rust, plus a CLI for converting from MBTiles and extracting regions.

Bad

  • It is not a map renderer, so you still need MapLibre, Leaflet or OpenLayers to show a map.
  • Most of the design and release work comes from one main maintainer at Protomaps.
  • Hosting needs correct CORS and range-request settings, and some static hosts have had problems with this (for example Firefox with GitHub Pages).
  • The repository has no GitHub releases and no licence field, and it holds several language ports, so its numbers are hard to read.

The numbers

npm downloads, 4 weeks
9.1M ×22 in a year
GitHub stars
3.3k
Commits, 12 months
45
npm version
4.5.0 Aug 2026
Versions, 12 months
5
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
BSD-3-Clause

Read on 21 November 2026 from GitHub (protomaps/PMTiles), npm (pmtiles), OSV and the OpenSSF Scorecard.

Map libraries

  1. 8.5MapLibre GL JS
  2. 7.9OpenLayers
  3. 7.9CesiumJS
  4. 7.7deck.gl
  5. 7.6Leaflet
  6. 7.6Turf
  7. 7.4PMTiles
  8. 7.4react-map-gl
Compare all 8 on six scores