# mapbox/mapbox.js

Mapbox JavaScript API, a Leaflet Plugin

Repository: https://github.com/mapbox/mapbox.js
Canonical: https://ross.abutalabs.com/products/mapboxjs
Language: HTML
License: NOASSERTION
License Family: other
Topics: mapbox, leaflet, map, javascript, docs, docs-site
Archived: true
Last push: 2024-04-24T21:32:11+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5174, "days_push": 861, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1902, forks 376 (observed 2026-08-28T04:05:51.683405+00:00)

## What it is
Mapbox's legacy JavaScript API implemented as a Leaflet plugin for embedding interactive maps in web pages. The repository is officially deprecated and users are directed to mapbox-gl-js instead.

## Use cases
- embed a mapbox map in a web page with leaflet
- add markers and tiles to a leaflet map
- show a slippy map on my website
- integrate mapbox tiles into an existing leaflet app
- render interactive maps in the browser

## When to choose
- maintaining a legacy codebase already built on mapbox.js
- you are locked into Leaflet 0.x/1.x with mapbox tiles and cannot migrate

## When to avoid
- starting any new project - use mapbox-gl-js instead
- you need vector tiles, 3D terrain, or modern WebGL rendering
- you need long-term support or bug fixes

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, data-visualization, geospatial
- domain: web-development, frontend
- platform: browser
- tags: leaflet-plugin, maps, deprecated, mapbox, nodejs, javascript

## Member repositories
- mapbox/mapbox.js (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.683405+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:54.966105+00:00, confidence not recorded.
  - readme: https://github.com/mapbox/mapbox.js (fetched 2026-08-28T04:05:51.683405+00:00, sha 649a23ba3d09)
- Data as of 2026-08-30T08:39:29.467469+00:00.
