// the find
mapbox/mapbox.js
Mapbox JavaScript API, a Leaflet Plugin
This is the old Leaflet-based Mapbox JavaScript SDK, now officially deprecated and replaced by mapbox-gl-js. The README's first line tells you everything: don't use this. It exists as a historical archive and docs site for anyone still maintaining legacy code that never migrated.
The versioned API documentation is thorough and well-organized across a long release history (v2.0.0 through v3.3.1), which is genuinely useful if you're debugging or maintaining an old codebase. The Leaflet plugin architecture it established was clean for its era — wrapping Leaflet's layer system let developers mix Mapbox tiles with arbitrary Leaflet layers without framework lock-in. The sanitization utilities (l-mapbox-sanitize) showed early awareness of XSS risks in map popups, which many competitors ignored.
It's abandoned — the repo itself tells you not to use it. No WebGL rendering means you're capped at raster tiles and SVG overlays; mapbox-gl-js left this behind for good reason. The GridLayer/FeatureLayer pattern for loading GeoJSON via UTFGrid is a dead format that nothing generates anymore. If you're starting anything new and land here via a search, you've already gone wrong.