{"name":"mapbox-gl","version":"3.18.1","license":"SEE LICENSE IN LICENSE.txt","_id":"mapbox-gl@3.18.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":"d577410229083595bd1c994d925b902f79df3b8f","tarball":"http://registry-npm.ywwl.com/mapbox-gl/download/mapbox-gl-3.18.1.tgz","fileCount":26,"integrity":"sha512-Izc8dee2zkmb6Pn9hXFbVioPRLXJz1OFUcrvri69MhFACPU4bhLyVmhEsD9AyW1qOAP0Yvhzm60v63xdMIHPPw==","signatures":[{"sig":"MEYCIQDqchiQXN0d+Zw2ax2Z/hfJ1Y6UDZ0ZTG42Q/dv8lUugwIhAPOIYpQcMEyNskVME5iU9x6TaUcrt6UPd9p6Q275syl/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68157029,"size":15083464,"noattachment":false,"key":"/mapbox-gl/-/mapbox-gl-3.18.1.tgz"},"main":"dist/mapbox-gl.js","type":"module","style":"dist/mapbox-gl.css","types":"dist/mapbox-gl.d.ts","gitHead":"d3324d747fa8ff48d463125579e3da3a9a4b4ad7","scripts":{"tsc":"tsc --project tsconfig.json","lint":"eslint --cache src 3d-style test","size":"size-limit","test":"run-s lint lint-css test-typings test-unit","start":"run-p build-token watch-css watch-dev 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-csp":"rollup -c rollup.config.csp.js","build-css":"postcss -o dist/mapbox-gl.css src/css/mapbox-gl.css","build-dev":"rollup -c --environment BUILD:dev","build-dts":"dts-bundle-generator --no-banner --export-referenced-types=false --umd-module-name=mapboxgl -o ./dist/mapbox-gl.d.ts ./src/index.ts","start-esm":"run-p build-token watch-css 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.js --environment BUILD:dev --watch","build-prod":"rollup -c --environment BUILD:production","check-size":"tsx build/check-size.ts","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-bench":"run-p build-umd-bench build-esm-bench","build-token":"node build/generate-access-token-script.js","start-debug":"run-p build-token watch-css watch-dev start-server","test-render":"npx vitest run --config vitest.config.render.chromium.ts","watch-query":"npx vitest watch --config vitest.config.query.ts","start-server":"st --no-cache -H 0.0.0.0 --port 9966 --index index.html .","test-typings":"tsx ./build/generate-typed-style-spec.ts && npm run tsc","watch-render":"npx vitest watch --config vitest.config.render.chromium.ts","publish-alpha":"./build/publish_alpha.sh","start-release":"run-s build-token build-prod-min build-esm-prod-min build-css print-release-url prepare-release-pages start-server","build-prod-min":"rollup -c --environment BUILD:production,MINIFY:true","prepublishOnly":"run-s build-dev build-prod-min build-esm-prod-min build-prod build-csp build-css build-style-spec build-dts","pretest-render":"npm run build-dev","build-esm-bench":"rollup -c rollup.config.esm.js --environment BUILD:bench,MINIFY:true","build-umd-bench":"rollup -c --environment BUILD:bench,MINIFY:true","test-render-csp":"npx vitest run --config vitest.config.render.chromium.csp.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","test-expressions":"tsx ./test/expression.test.ts","test-render-prod":"npx vitest run --config vitest.config.render.chromium.prod.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-min":"rollup -c rollup.config.esm.js --environment BUILD:production,MINIFY:true","pretest-render-csp":"npm run build-csp","start-range-server":"node build/range-request-server.js","test-render-safari":"npx vitest run --config vitest.config.render.safari.ts","pretest-render-prod":"npm run build-prod-min","test-render-firefox":"npx vitest run --config vitest.config.render.firefox.ts","test-render-chromium":"npx vitest run --config vitest.config.render.chromium.ts","check-ts-suppressions":"tsx build/check-ts-suppressions.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/","test-render-chromium-csp":"npx vitest run --config vitest.config.render.chromium.csp.ts","test-render-chromium-prod":"npx vitest run --config vitest.config.render.chromium.prod.ts"},"_npmUser":{"name":"mbx-npm-02-production","email":"yannick.meeus+npm+prod+02@mapbox.com"},"repository":{"url":"git://github.com/mapbox/mapbox-gl-js.git","type":"git"},"size-limit":[{"gzip":true,"path":"dist/mapbox-gl.js","limit":"450 kb"},{"gzip":true,"path":["dist/esm-min/mapbox-gl.js","dist/esm-min/shared.js","dist/esm-min/worker.js"],"limit":"450 kb"},{"gzip":true,"path":"dist/mapbox-gl.css","limit":"5.41 kb"}],"workspaces":["src/style-spec","test/build/vite","test/build/webpack","test/build/typings"],"_npmVersion":"11.6.1","description":"A WebGL interactive maps library","directories":{},"_nodeVersion":"24.11.0","dependencies":{"pbf":"^4.0.1","earcut":"^3.0.1","kdbush":"^4.0.2","potpack":"^2.0.0","gl-matrix":"^3.4.4","tinyqueue":"^3.0.0","@types/pbf":"^3.0.5","geojson-vt":"^4.0.2","grid-index":"^1.1.0","cheap-ruler":"^4.0.0","quickselect":"^3.0.0","supercluster":"^8.0.1","murmurhash-js":"^1.0.0","@types/geojson":"^7946.0.16","csscolorparser":"~1.0.3","@mapbox/tiny-sdf":"^2.0.6","@mapbox/whoots-js":"^3.1.0","@types/geojson-vt":"^3.2.5","@mapbox/unitbezier":"^0.0.1","@mapbox/vector-tile":"^2.0.4","@types/supercluster":"^7.1.3","@mapbox/point-geometry":"^1.1.0","martinez-polygon-clipping":"^0.8.1","@mapbox/mapbox-gl-supported":"^3.0.0","@types/mapbox__point-geometry":"^0.1.4","@mapbox/jsonlint-lines-primitives":"^2.0.2"},"_hasShrinkwrap":false,"devDependencies":{"st":"^3.0.2","ejs":"^4.0.1","tsx":"^4.20.3","diff":"^8.0.2","envify":"^4.1.0","eslint":"^9.30.1","lodash":"^4.17.21","rollup":"^4.44.2","vitest":"^4.0.6","address":"^2.0.3","cssnano":"^7.0.7","esbuild":"^0.27.1","express":"^5.2.1","postcss":"^8.5.6","d3-queue":"^3.0.7","minimist":"^1.2.6","stylelint":"^16.21.1","tweakpane":"^4.0.5","@eslint/js":"^9.30.1","@vitest/ui":"^4.0.6","browserify":"^17.0.1","pixelmatch":"^6.0.0","playwright":"^1.53.2","size-limit":"^12.0.0","typescript":"^5.9.2","@types/node":"^25.0.2","postcss-cli":"^11.0.1","npm-run-all2":"^8.0.4","serve-static":"^2.2.0","shuffle-seed":"^1.1.6","@octokit/rest":"^22.0.0","node-notifier":"^10.0.1","@eslint/compat":"^2.0.0","@tweakpane/core":"^2.0.5","qrcode-terminal":"^0.12.0","@eslint/eslintrc":"^3.3.1","@size-limit/file":"^12.0.0","mapbox-gl-styles":"^2.0.2","typescript-eslint":"^8.48.1","eslint-plugin-html":"^8.1.3","npm-font-open-sans":"^1.1.0","postcss-inline-svg":"^6.0.0","@rollup/plugin-json":"^6.1.0","eslint-plugin-jsdoc":"^62.0.0","@mapbox/mvt-fixtures":"^3.10.0","@rollup/plugin-strip":"^3.0.4","@types/murmurhash-js":"^1.0.6","dts-bundle-generator":"^9.5.1","@rollup/plugin-terser":"^0.4.4","eslint-config-mourner":"^4.0.0","rollup-plugin-esbuild":"^6.2.1","@rollup/plugin-replace":"^6.0.2","@rollup/plugin-virtual":"^3.0.2","@types/offscreencanvas":"^2019.7.3","eslint-plugin-import-x":"^4.16.1","rollup-plugin-unassert":"^0.6.0","@rollup/plugin-commonjs":"^29.0.0","browserslist-to-esbuild":"^2.1.1","vite-plugin-arraybuffer":"^0.1.0","@typescript-eslint/parser":"^8.48.1","stylelint-config-standard":"^39.0.0","@vitest/browser-playwright":"^4.0.6","@rollup/plugin-node-resolve":"^16.0.1","json-stringify-pretty-compact":"^4.0.0","@typescript-eslint/eslint-plugin":"^8.48.1","eslint-import-resolver-typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/mapbox-gl_3.18.1_1769083997731_0.8145063743569716","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":1769083998312,"_cnpm_publish_time":1769083998312,"dist-tags":{"dev":"3.34.1-alpha.1","latest":"3.34.2","next":"3.35.0-rc.1","old":"1.13.3"}}