{"_id":"@atlasimaging/mapbox-gl-geocoder","name":"@atlasimaging/mapbox-gl-geocoder","dist-tags":{"latest":"5.0.1"},"versions":{"5.0.1":{"name":"@atlasimaging/mapbox-gl-geocoder","version":"5.0.1","description":"A geocoder control for Mapbox GL JS","main":"lib/index.js","unpkg":"dist/mapbox-gl-geocoder.min.js","style":"lib/mapbox-gl-geocoder.css","scripts":{"start":"budo debug/index.js --dir debug --live -- -t brfs ","prepublish":"NODE_ENV=production && mkdir -p dist && browserify lib/index.js --transform [ babelify --global ] --standalone MapboxGeocoder | uglifyjs -c -m > dist/mapbox-gl-geocoder.min.js && cp lib/mapbox-gl-geocoder.css dist/","test":"browserify -t envify test/index.js test/events.test.js test/utils.test.js | smokestack -b firefox | tap-status | tap-color","docs":"documentation build lib/index.js --format=md > API.md","pretest":"npm run lint","lint":"eslint lib test","precommit":"lint-staged"},"repository":{"type":"git","url":"git+ssh://git@github.com/mapbox/mapbox-gl-geocoder.git"},"engines":{"node":">=6"},"keywords":["geocoder","osm","gl"],"author":{"name":"Mapbox"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/mapbox-gl-geocoder/issues"},"homepage":"https://github.com/mapbox/mapbox-gl-geocoder#readme","devDependencies":{"@babel/core":"^7.16.12","@babel/preset-env":"^7.16.11","babelify":"^10.0.0","brfs":"^2.0.2","browserify":"^16.2.3","budo":"^11.6.1","documentation":"^14.0.0","envify":"^3.4.1","eslint":"^4.18.2","husky":"^1.3.1","insert-css":"2.0.0","lint-staged":"^13.0.3","lodash.once":"^4.0.0","mapbox-gl":"^0.47.0","sinon":"^7.2.7","smokestack":"^3.6.0","tap-color":"^1.1.0","tap-status":"^1.0.1","tape":"^4.10.1","uglify-js":"^2.8.29","minimist":"^1.2.6","json-schema":"^0.4.0"},"peerDependencies":{"mapbox-gl":">= 0.47.0 < 3.0.0"},"dependencies":{"@mapbox/mapbox-sdk":"^0.13.7","events":"^3.3.0","lodash.debounce":"^4.0.6","nanoid":"^3.1.31","subtag":"^0.5.0","suggestions":"^1.6.0","xtend":"^4.0.1"},"lint-staged":{"*.js":["eslint","git add"]},"gitHead":"056c09c8e40a912c0ac8b977ae80a2a89b005d13","_id":"@atlasimaging/mapbox-gl-geocoder@5.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-G0CEum2RE8EZ25qhvw82ejTzm462sZTOS+I/CgYlAbBo0OuzPJOzs7nJ8lSEmWfazCufSo9pO9IlEsEer3VOKQ==","shasum":"a423e8c07c1ab2634f82804e07df341517a16faa","tarball":"https://registry.npmjs.org/@atlasimaging/mapbox-gl-geocoder/-/mapbox-gl-geocoder-5.0.1.tgz","fileCount":10,"unpackedSize":76353,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE25xfYIR9NO3ts7s2ORBLb7AaC8hlb144Lc2y6N/ZvQAiBYfXTpopYCJLKeMRG8rpYFlL0wPWgW5wRWf4qbPiiyIg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9KcJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprxA/7B/yP+LlQsUepFKMAUW5RQBN4YTx84z3g8KBtS0Ph29sXX13+\r\nUeJyyx75DGhwo077SdlREiFSQmBWvDCBIxW4rXgFXqLD+8unLwmy1ccku989\r\naNLwxTklaHmwApRglI9EhzxQ+tosI5U6r/8Bv7yB6lDe7+zkZDv4hWLT4S9M\r\nmNLen9jAvWk8Gb4YxbndT13zLueNnu/fn/zv+lz9UZ5ybDCiwmO0KCgxvDuQ\r\nTeneXGP40EfYyRCuFCrRr9DwikV1kF/4ssH4xJHjwL8rlO+LoWfQ3fp6wRHf\r\n4wAaKjDHrze0pxSKEt8+RLZHu3ipNndTasM4YBkiwDtxGGA38+WUOshs+eIu\r\nBNijtVzW0sep+dM+dePlq5VNKWXmjNA7ypJ9DdkUALQ7EkLaltCuuZEqZkE2\r\nmkhsSZTnsH0w2IGxbTQEZXUjpSO3uJlxrb+cCqixClWYGKogT+fTYHAJ48kQ\r\n9xmkPmDgpXsGarKlNpMrUsxvFLb0gLBsmFf/CLsTwsHQnBz2SYUlK3Wf9fJC\r\nsLYEI3QzO7nRqgO1+L4ioWgWIVOHcJbbvbokdMuRZK1Iwm7l1y8JP5XgQgZ2\r\nEdd3OU0063M7ZwEW9I66FVFJF6FqtMRQtj9w9UTs3lvqpvkQxh+Kg30XgAgM\r\np0HHv2fOnT1vIdTgaIWb3wM1eewewIo8jeo=\r\n=Z6o0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"atlasimaging","email":"atlasimaging2013@gmail.com"},"directories":{},"maintainers":[{"name":"atlasimaging","email":"atlasimaging2013@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mapbox-gl-geocoder_5.0.1_1676977929254_0.5792088968617142"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-21T11:12:09.188Z","5.0.1":"2023-02-21T11:12:09.462Z","modified":"2023-02-21T11:12:09.639Z"},"maintainers":[{"name":"atlasimaging","email":"atlasimaging2013@gmail.com"}],"description":"A geocoder control for Mapbox GL JS","homepage":"https://github.com/mapbox/mapbox-gl-geocoder#readme","keywords":["geocoder","osm","gl"],"repository":{"type":"git","url":"git+ssh://git@github.com/mapbox/mapbox-gl-geocoder.git"},"author":{"name":"Mapbox"},"bugs":{"url":"https://github.com/mapbox/mapbox-gl-geocoder/issues"},"license":"ISC","readme":"Mapbox GL Geocoder [![Build Status](https://travis-ci.com/mapbox/mapbox-gl-geocoder.svg?branch=master)](https://travis-ci.com/mapbox/mapbox-gl-geocoder)\n---\n\nA geocoder control for [mapbox-gl-js](https://github.com/mapbox/mapbox-gl-js) using the [Mapbox Geocoding API](https://docs.mapbox.com/api/search/#geocoding). For a JavaScript geocoder without a graphical user interface see the [Mapbox SDK for JS](https://github.com/mapbox/mapbox-sdk-js/blob/master/docs/services.md#geocoding).\n\n### Usage\n\n* https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder/\n* https://docs.mapbox.com/mapbox-gl-js/example/?search=mapbox-gl-geocoder\n\n**If you are supporting older browsers, you will need to use a polyfill.** We recommend working with [@babel/polyfill](https://babeljs.io/docs/en/babel-polyfill).\n\n### Usage with a module bundler\n\n```bash\nnpm install --save @mapbox/mapbox-gl-geocoder\n```\n\n```js\nimport MapboxGeocoder from '@mapbox/mapbox-gl-geocoder';\nimport '@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css';\n...\nconst geocoder = new MapboxGeocoder({\n    accessToken: mapboxgl.accessToken,\n    mapboxgl: mapboxgl\n});\n\n```\n\n###  Using without a Map\nIt is possible to use the plugin without it being placed as a control on a mapbox-gl map. Keep in mind that the Mapbox [Terms of Service](https://www.mapbox.com/legal/tos#[GAGA]) require that POI search results be shown on a Mapbox map. If you don't need POIs, you can exclude them from your search results with the `options.types` parameter  when constructing a new Geocoder. \n\n### Deeper dive\n\n#### API Documentation\n\nSee [API.md](https://github.com/mapbox/mapbox-gl-geocoder/blob/master/API.md) for complete reference.\n\n#### Examples\n\nSee [https://docs.mapbox.com/mapbox-gl-js/examples/#geocoder](https://docs.mapbox.com/mapbox-gl-js/examples/#geocoder).\n\n### Contributing\n\nSee [CONTRIBUTING.md](https://github.com/mapbox/mapbox-gl-geocoder/blob/master/CONTRIBUTING.md).\n","readmeFilename":"README.md"}