finds.dev

mapbox/mapbox-sdk-js

A JavaScript client to Mapbox services, supporting Node, browsers, and React Native

View on GitHub

★ 766JavaScriptNOASSERTIONupdated May 2026

// the take

Official Mapbox JS SDK for calling Mapbox REST APIs (geocoding, directions, styles, tilesets, uploads, etc.) from Node, browser, and React Native. This is the API client layer only — it does not render maps; that's mapbox-gl-js's job. Useful when you need to call Mapbox services programmatically without the full map rendering stack.

The request/response abstraction is clean: MapiRequest, MapiResponse, and MapiError are well-separated with consistent shapes across all services. Pagination via eachPage() and progress events via the emitter are first-class, not bolted on. Shared base client pattern means one token config for all services without repetition. Good test coverage per service with dedicated test files that give you a working example of every method.

Still ships CommonJS with a separate rollup UMD build — no ESM exports, which means tree-shaking doesn't work properly in modern bundlers; you pay for services you don't use. The Promise polyfill warning in the README is a signal that this hasn't had a meaningful modernization pass. TravisCI build badge points to a dead URL (Travis deprecated the .com domain migration years ago), which suggests CI is either broken or moved elsewhere quietly. 766 stars for an official SDK from a major mapping company is low, hinting Mapbox may be de-emphasizing this in favor of other SDKs.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
766
Forks
193
Language
JavaScript
License
NOASSERTION
Last commit
2 May 2026

// nearby

If mapbox-sdk-js isn't quite it.

All repos →