{"name":"mapbox-gl","version":"3.28.1","license":"SEE LICENSE IN LICENSE.txt","_id":"mapbox-gl@3.28.1","maintainers":[{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-07","email":"accounts+npmjs-07@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-05","email":"accounts+npmjs-05@mapbox.com"},{"name":"mapbox-npm-06","email":"accounts+npmjs-06@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-advanced-actions","email":"accounts+npmjs-advanced-actions@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-admin","email":"accounts@mapbox.com"},{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"},{"name":"mbx-npm-ci-staging","email":"yannick.meeus+npm+staging+ci@mapbox.com"},{"name":"mbx-npm-ci-production","email":"yannick.meeus+npm+production+ci@mapbox.com"},{"name":"mbx-npm-01-production","email":"yannick.meeus+npm+prod+01@mapbox.com"},{"name":"mbx-npm-02-production","email":"yannick.meeus+npm+prod+02@mapbox.com"},{"name":"mbx-npm-03-production","email":"yannick.meeus+npm+prod+03@mapbox.com"},{"name":"mbx-npm-04-production","email":"yannick.meeus+npm+prod+04@mapbox.com"},{"name":"mbx-npm-05-production","email":"yannick.meeus+npm+prod+05@mapbox.com"},{"name":"mbx-npm-06-production","email":"yannick.meeus+npm+prod+06@mapbox.com"},{"name":"mbx-npm-07-production","email":"yannick.meeus+npm+prod+07@mapbox.com"},{"name":"mbx-npm-08-production","email":"yannick.meeus+npm+prod+08@mapbox.com"},{"name":"mbx-npm-09-production","email":"yannick.meeus+npm+prod+09@mapbox.com"},{"name":"mbx-npm-02-staging","email":"yannick.meeus@mapbox.com"},{"name":"mbx-npm-advanced-actions-staging","email":"yannick.meeus+npm+staging+advanced+actions@mapbox.com"},{"name":"mbx-npm-advanced-actions-production","email":"yannick.meeus+npm+prod+advanced+actions@mapbox.com"}],"homepage":"https://github.com/mapbox/mapbox-gl-js#readme","bugs":{"url":"https://github.com/mapbox/mapbox-gl-js/issues"},"dist":{"shasum":"646605195465faac0aeaaef2e6dbbfac24355b7b","tarball":"http://registry-npm.ywwl.com/mapbox-gl/download/mapbox-gl-3.28.1.tgz","fileCount":51,"integrity":"sha512-f8bCHFzZ51bKig7rnD7e08aoFLOV3MNFZduspZ4lgOgiaNVp9sw4NSWcgo3IWTyekYKKXjiICD2BP2o4DiYfxw==","signatures":[{"sig":"MEYCIQDi83OK5l9MhYjudX9/6O4BdqD7y2Mzbv2B4dxroFMmOwIhANkOjcm4SS9YIsabJRP1EFPyQfobkGY7ZYMNYpnq0Wj/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICZzDju4Upaw/VqlLpaZY8y7ESI2zTGt9wted9p8o01LAiBGZdNmqrHsBZtmaN7LMgeyF8T6MgBn0eduEMPKb6ZG3g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65005754,"size":14276637,"noattachment":false,"key":"/mapbox-gl/-/mapbox-gl-3.28.1.tgz"},"main":"dist/mapbox-gl.js","type":"module","style":"dist/mapbox-gl.css","types":"dist/mapbox-gl.d.ts","exports":{".":{"types":"./dist/mapbox-gl.d.ts","default":"./dist/mapbox-gl.js"},"./esm":{"types":"./dist/esm/mapbox-gl.d.ts","default":"./dist/esm/mapbox-gl.js"},"./dist/*":"./dist/*","./package.json":"./package.json","./mapbox-gl.css":"./dist/mapbox-gl.css"},"gitHead":"3907be8bfdf11c5eda3008455d8578f2673dfd30","scripts":{"tsc":"tsc --build tsconfig.json","lint":"eslint --cache .","size":"size-limit","test":"run-s lint lint-css test-typings test-unit","start":"run-p build-token watch-css watch-esm start-server","codegen":"tsx ./build/generate-style-code.ts && tsx ./build/generate-struct-arrays.ts && tsx ./build/generate-typed-style-spec.ts","lint-css":"stylelint 'src/css/mapbox-gl.css'","test-csp":"npm run build-token && vitest --config vitest.config.csp.ts --run","test-esm":"npx vitest run --config vitest.config.esm.ts","build-all":"run-p build-umd build-esm-dev build-esm-prod build-esm-prod-cdn build-csp","build-csp":"rollup -c rollup.config.csp.ts","build-css":"postcss -o dist/mapbox-gl.css src/css/mapbox-gl.css","build-dev":"rollup -c --environment BUILD:dev","build-dts":"rollup -c rollup.config.dts.ts","build-umd":"run-s build-dev build-prod","start-all":"run-p build-token watch-css watch-dev watch-esm start-server","test-unit":"vitest --config vitest.config.unit.ts --run","test-usvg":"vitest --config vitest.config.usvg.ts --run","watch-css":"postcss --watch -o dist/mapbox-gl.css src/css/mapbox-gl.css","watch-dev":"rollup -c --environment BUILD:dev --watch","watch-esm":"rollup -c rollup.config.esm.ts --environment BUILD:dev --watch","build-prod":"rollup -c --environment BUILD:production,MINIFY:true","start-usvg":"esbuild src/data/usvg/usvg_pb_renderer.ts src/data/usvg/usvg_pb_decoder.ts --outdir=src/data/usvg/ --bundle --format=esm --watch --serve=9966 --servedir=.","test-build":"node --test --test-timeout 10000 test/build/*.test.js","test-query":"npx vitest run --config vitest.config.query.ts","test-suite":"run-s test-render test-query test-expressions","watch-unit":"vitest --config vitest.config.unit.ts","build-token":"node build/generate-access-token-script.js","publish-cdn":"./build/publish-cdn.ts","test-render":"npx vitest run --config vitest.config.render.ts","watch-query":"npx vitest watch --config vitest.config.query.ts","bump-version":"./build/bump-version.ts","start-server":"node build/start-server.js","test-typings":"tsx ./build/generate-typed-style-spec.ts && npm run tsc","watch-render":"npx vitest watch --config vitest.config.render.ts","build-esm-dev":"rollup -c rollup.config.esm.ts --environment BUILD:dev","pretest-query":"npm run build-esm-dev","publish-alpha":"./build/publish-alpha.ts","start-release":"run-s build-token build-all build-css print-release-url prepare-release-pages start-server","test-bundlers":"vitest run --config vitest.config.bundlers.ts","build-esm-prod":"rollup -c rollup.config.esm.ts --environment BUILD:production,MINIFY:true","prepublishOnly":"run-s build-all build-css build-style-spec build-dts","pretest-render":"npm run build-esm-dev","prewatch-render":"npm run build-dev","publish-release":"./build/publish.ts","test-render-csp":"RENDER_BUNDLE=csp npx vitest run --config vitest.config.render.ts","test-render-dev":"RENDER_BUNDLE=dev npx vitest run --config vitest.config.render.ts","test-style-spec":"npm test --workspace src/style-spec","build-style-spec":"npm run build --workspace src/style-spec && mkdir -p dist/style-spec && cp src/style-spec/dist/* dist/style-spec","bundle-size-diff":"bash internal/scripts/bundle-size-diff.sh","pretest-bundlers":"./test/bundlers/pretest.sh","test-expressions":"tsx ./test/expression.test.ts","test-render-prod":"RENDER_BUNDLE=prod npx vitest run --config vitest.config.render.ts","test-suite-clean":"find test/integration/{render,query, expressions}-tests -mindepth 2 -type d -exec test -e \"{}/actual.png\" \\; -not \\( -exec test -e \"{}/style.json\" \\; \\) -print | xargs -t rm -r","print-release-url":"node build/print-release-url.js","build-esm-prod-cdn":"ESM_TARGET=cdn rollup -c rollup.config.esm.ts --environment BUILD:production,MINIFY:true","pretest-render-csp":"npm run build-csp","pretest-render-dev":"npm run build-dev","test-render-safari":"RENDER_BROWSER=webkit npm run test-render","pretest-render-prod":"npm run build-prod","test-render-firefox":"RENDER_BROWSER=firefox npm run test-render","test-render-esm-prod":"RENDER_BUNDLE=esm-prod npx vitest run --config vitest.config.render.ts","prepare-release-pages":"ln -sfn $PWD/dist test/release/dist && ln -sfn $PWD/debug test/release/debug && cp debug/access_token_generated.js test/release/","pretest-render-esm-prod":"npm run build-esm-prod"},"_npmUser":{"name":"mbx-npm-03-production","email":"yannick.meeus+npm+prod+03@mapbox.com"},"repository":{"url":"git://github.com/mapbox/mapbox-gl-js.git","type":"git"},"size-limit":[{"gzip":true,"name":"ESM Core (gzip)","path":["dist/esm/mapbox-gl.js","dist/esm/core*.js","dist/esm/worker*.js","dist/esm/shared*.js"],"limit":"600 kb"},{"gzip":true,"name":"ESM Core + Standard (gzip)","path":["dist/esm/mapbox-gl.js","dist/esm/core*.js","dist/esm/worker*.js","dist/esm/shared*.js","dist/esm/standard.*.js","dist/esm/hd_standard.*.js"],"limit":"600 kb"},{"gzip":true,"name":"ESM Core + Standard + HD (gzip)","path":["dist/esm/*.js"],"limit":"600 kb"},{"name":"ESM Core (brotli)","path":["dist/esm/mapbox-gl.js","dist/esm/core*.js","dist/esm/worker*.js","dist/esm/shared*.js"],"limit":"600 kb"},{"name":"ESM Core + Standard (brotli)","path":["dist/esm/mapbox-gl.js","dist/esm/core*.js","dist/esm/worker*.js","dist/esm/shared*.js","dist/esm/standard.*.js","dist/esm/hd_standard.*.js"],"limit":"600 kb"},{"name":"ESM Core + Standard + HD (brotli)","path":["dist/esm/*.js"],"limit":"600 kb"},{"name":"ESM Core main thread (brotli)","path":["dist/esm/mapbox-gl.js","dist/esm/core*.js","dist/esm/shared*.js"],"limit":"600 kb"},{"gzip":true,"name":"UMD bundle (gzip)","path":"dist/mapbox-gl.js","limit":"600 kb"}],"workspaces":["src/style-spec","plugins/mapbox-gl-pmtiles-provider","test/bundlers/*","test/build/typings"],"_npmVersion":"11.13.0","description":"A WebGL interactive maps library","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"pbf":"^5.1.0","tsx":"^4.23.0","diff":"^9.0.0","earcut":"^3.0.2","eslint":"^10.4.0","kdbush":"^4.1.0","rollup":"^4.60.4","vitest":"^4.1.7","yeahjs":"^0.4.1","cssnano":"^8.0.1","esbuild":"^0.28.0","postcss":"^8.5.15","potpack":"^2.1.0","gl-matrix":"^3.4.4","stylelint":"^17.12.0","tinyqueue":"^3.0.0","tweakpane":"^4.0.5","@eslint/js":"^10.0.1","@vitest/ui":"^4.1.7","geojson-vt":"^4.0.3","pixelmatch":"^7.2.0","playwright":"^1.60.0","size-limit":"^13.0.1","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.0.0","postcss-cli":"^11.0.1","npm-run-all2":"^9.0.1","serve-static":"^2.2.1","supercluster":"^8.0.1","@actions/core":"^3.0.1","@octokit/rest":"^22.0.1","@eslint/compat":"^2.1.0","@types/geojson":"^7946.0.16","@tweakpane/core":"^2.0.5","@eslint/eslintrc":"^3.3.5","@mapbox/tiny-sdf":"^2.2.0","@size-limit/file":"^13.0.1","@types/geojson-vt":"^3.2.5","rollup-plugin-dts":"^6.4.1","typescript-eslint":"^8.63.0","@mapbox/unitbezier":"^1.0.0","@typescript/native":"npm:typescript@^7.0.2","eslint-plugin-html":"^8.1.4","postcss-inline-svg":"^6.0.0","@e18e/eslint-plugin":"^0.6.0","@mapbox/vector-tile":"^3.0.0","@rollup/plugin-json":"^6.1.0","@types/supercluster":"^7.1.3","eslint-plugin-jsdoc":"^63.0.0","@mapbox/mvt-fixtures":"^4.0.0","@rollup/plugin-strip":"^3.0.4","@rollup/plugin-terser":"^1.0.0","eslint-config-mourner":"^5.0.1","rollup-plugin-esbuild":"^6.2.1","@mapbox/point-geometry":"^1.1.0","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-virtual":"^3.0.2","@types/offscreencanvas":"^2019.7.3","eslint-plugin-import-x":"^4.16.2","@rollup/plugin-commonjs":"^29.0.2","browserslist-to-esbuild":"^2.1.1","vite-plugin-arraybuffer":"^0.1.4","@mapbox/mapbox-gl-styles":"^2.2.0","rollup-plugin-visualizer":"^7.0.1","martinez-polygon-clipping":"^0.8.1","stylelint-config-standard":"^40.0.0","@vitest/browser-playwright":"^4.1.7","@mapbox/mapbox-gl-supported":"^4.0.0","@rollup/plugin-node-resolve":"^16.0.3","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/mapbox-gl_3.28.1_1786083239958_0.552205723636491","host":"s3://npm-registry-packages-npm-production"},"readme":"[<img width=\"300\" alt=\"Mapbox logo\" src=\"https://static-assets.mapbox.com/logos/mapbox-logo-black.png\">](https://www.mapbox.com/)\n\n**Mapbox GL JS** is a JavaScript library for interactive, customizable vector maps on the web. It takes map styles that conform to the\n[Mapbox Style Specification](https://docs.mapbox.com/mapbox-gl-js/style-spec/), applies them to vector tiles that\nconform to the [Mapbox Vector Tile Specification](https://github.com/mapbox/vector-tile-spec), and renders them using\nWebGL.\n\nMapbox GL JS is part of the [cross-platform Mapbox GL ecosystem](https://www.mapbox.com/maps/), which also includes\ncompatible native SDKs for applications on [Android](https://docs.mapbox.com/android/maps/overview/),\n[iOS](https://docs.mapbox.com/ios/maps/overview/), [macOS](http://mapbox.github.io/mapbox-gl-native/macos), and [React Native](https://github.com/mapbox/react-native-mapbox-gl/). Mapbox provides building blocks to add location features like maps, search, and navigation into any experience you\ncreate. To get started with GL JS or any of our other building blocks,\n[sign up for a Mapbox account](https://www.mapbox.com/signup/).\n\nIn addition to GL JS, this repository contains code, issues, and test fixtures that are common to both GL JS and the\nnative SDKs. For code and issues specific to the native SDKs, see the\n[mapbox/mapbox-gl-native](https://github.com/mapbox/mapbox-gl-native/) repository.\n\n- [Getting started with Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js/overview/)\n- [Tutorials](https://docs.mapbox.com/help/tutorials/#web-apps)\n- [API documentation](https://docs.mapbox.com/mapbox-gl-js/api/)\n- [Examples](https://docs.mapbox.com/mapbox-gl-js/examples/)\n- [Style documentation](https://docs.mapbox.com/mapbox-gl-js/style-spec/)\n- [Open source styles](https://github.com/mapbox/mapbox-gl-styles)\n- [Contributor documentation](./CONTRIBUTING.md)\n- [Browser Data Storage](./STORAGE.md)\n\n[<img width=\"600\" alt=\"Mapbox GL JS gallery of map images\" src=\"https://static-assets.mapbox.com/images/mapbox-gl-js-gallery.png\">](https://www.mapbox.com/mapbox-gljs)\n\n**Caption:** (_Mapbox GL JS maps, left-to-right, top-to-bottom_): Custom styled point [clusters](https://docs.mapbox.com/mapbox-gl-js/style-spec/sources/#geojson-cluster), custom style with points, [hexbin visualization](https://blog.mapbox.com/exploring-nyc-open-data-with-3d-hexbins-5af2b7d8bc46) on a [Dark style](https://www.mapbox.com/maps/dark) map with [`Popups`](https://docs.mapbox.com/mapbox-gl-js/api/markers/#popup), data-driven [circles](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#circle) over a [`raster` layer](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#raster) with [satellite imagery](https://docs.mapbox.com/help/getting-started/satellite-imagery/), [3D terrain](https://docs.mapbox.com/mapbox-gl-js/example/?topic=3D) with custom [`Markers`](https://docs.mapbox.com/mapbox-gl-js/api/markers/#marker), [Mapbox Movement data](https://docs.mapbox.com/data/movement/guides/) visualization.\n\n## License\n\nMapbox Web SDK\n\nCopyright © 2021 - 2023 Mapbox, Inc. All rights reserved.\n\nThe software and files in this repository (collectively, “Software”) are licensed under the Mapbox TOS for use only with the relevant Mapbox product(s) listed at www.mapbox.com/pricing. This license allows developers with a current active Mapbox account to use and modify the authorized portions of the Software as needed for use only with the relevant Mapbox product(s) through their Mapbox account in accordance with the Mapbox TOS.  This license terminates automatically if a developer no longer has a Mapbox account in good standing or breaches the Mapbox TOS. For the license terms, please see the Mapbox TOS at https://www.mapbox.com/legal/tos/ which incorporates the Mapbox Product Terms at www.mapbox.com/legal/service-terms.  If this Software is a SDK, modifications that change or interfere with marked portions of the code related to billing, accounting, or data collection are not authorized and the SDK sends limited de-identified location and usage data which is used in accordance with the Mapbox TOS. [Updated 2023-01]\n","publish_time":1786083240249,"_cnpm_publish_time":1786083240249,"dist-tags":{"dev":"3.34.1-alpha.1","latest":"3.34.2","next":"3.35.0-rc.1","old":"1.13.3"}}