{"_id":"@conveyal/geocoder-arcgis-geojson","_rev":"8-a50f2bb6b322a3c4ff92f33831616e9f","name":"@conveyal/geocoder-arcgis-geojson","description":"Return argis geocode results as geojson","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.0-semantically-released":{"name":"@conveyal/geocoder-arcgis-geojson","version":"0.0.0-semantically-released","description":"Return argis geocode results as geojson","main":"./build/index","repository":{"type":"git","url":"git+https://github.com/conveyal/geocoder-arcgis-geojson.git"},"author":{"name":"esiroky@conveyal.com"},"license":"MIT","private":false,"scripts":{"cover":"mastarm test --coverage --coverage-paths index.js","generate-docs":"documentation readme index.js --document-exported=true -g --section=API","flow":"mastarm flow","lint":"mastarm lint","lint-docs":"documentation lint index.js","prepublish":"mastarm prepublish index.js:build/index.js","semantic-release":"semantic-release pre && npm publish && semantic-release post","test":"yarn run lint && yarn run flow && yarn run lint-docs && mastarm test","test-node":"mastarm test --test-environment node"},"mastarm lint":{"ignore":["flow-typed"]},"dependencies":{"@conveyal/lonlat":"^1.3.0","geocoder-arcgis":"^2.0.4"},"devDependencies":{"documentation":"^5.3.5","eslint-plugin-jest":"^21.7.0","flow-bin":"0.44.0","mastarm":"3","nock":"^9.1.6","semantic-release":"^6.3.6"},"bugs":{"url":"https://github.com/conveyal/geocoder-arcgis-geojson/issues"},"homepage":"https://github.com/conveyal/geocoder-arcgis-geojson#readme","gitHead":"c4f955e3b8092737e13df89c4d7b0cc4b5d44aab","_id":"@conveyal/geocoder-arcgis-geojson@0.0.0-semantically-released","_shasum":"36f8b68dd48d1ca5cbdc16d0c3962a829ae98a42","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"evansiroky","email":"evan.siroky@yahoo.com"},"dist":{"shasum":"36f8b68dd48d1ca5cbdc16d0c3962a829ae98a42","tarball":"https://registry.npmjs.org/@conveyal/geocoder-arcgis-geojson/-/geocoder-arcgis-geojson-0.0.0-semantically-released.tgz","integrity":"sha512-NscQU8Zvhd5MVge534Sz/XJ6IAZS/+kxBmxLvE9e6OzEzY24RaxtHiCsjiTscPDfzpONVeOVhCfcEooMjBepZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICbBh2sBAYf5uZ+Ub98bmOHRv8MbjPJAXNEi5E+gpn8NAiEAgM8akjFfhOeZObjjFYeqEssdkyfxFy2rLubUfUx2dNo="}]},"maintainers":[{"name":"evansiroky","email":"evan.siroky@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geocoder-arcgis-geojson-0.0.0-semantically-released.tgz_1517869306800_0.537659825058654"},"directories":{}},"0.0.0":{"name":"@conveyal/geocoder-arcgis-geojson","version":"0.0.0","description":"Return argis geocode results as geojson","main":"./build/index","repository":{"type":"git","url":"git+https://github.com/conveyal/geocoder-arcgis-geojson.git"},"author":{"name":"esiroky@conveyal.com"},"license":"MIT","private":false,"scripts":{"cover":"mastarm test --coverage --coverage-paths index.js","generate-docs":"documentation readme index.js --document-exported=true -g --section=API","flow":"mastarm flow","lint":"mastarm lint","lint-docs":"documentation lint index.js","prepublish":"mastarm prepublish index.js:build/index.js","semantic-release":"semantic-release pre && npm publish && semantic-release post","test":"yarn run lint && yarn run flow && yarn run lint-docs && mastarm test","test-node":"mastarm test --test-environment node"},"mastarm lint":{"ignore":["flow-typed"]},"dependencies":{"@conveyal/lonlat":"^1.3.0","geocoder-arcgis":"^2.0.4"},"devDependencies":{"documentation":"^5.3.5","eslint-plugin-jest":"^21.7.0","flow-bin":"0.44.0","mastarm":"3","nock":"^9.1.6","semantic-release":"^6.3.6"},"bugs":{"url":"https://github.com/conveyal/geocoder-arcgis-geojson/issues"},"homepage":"https://github.com/conveyal/geocoder-arcgis-geojson","gitHead":"a46dc1b554c4946907ee00313eb23ac8cd9b00f8","_id":"@conveyal/geocoder-arcgis-geojson@0.0.0","_shasum":"3565bc9c5a2a1c569b4c94827862460030ceb3e3","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.3","_npmUser":{"name":"evansiroky","email":"evan.siroky@yahoo.com"},"dist":{"shasum":"3565bc9c5a2a1c569b4c94827862460030ceb3e3","tarball":"https://registry.npmjs.org/@conveyal/geocoder-arcgis-geojson/-/geocoder-arcgis-geojson-0.0.0.tgz","integrity":"sha512-dguRrtn9bkDv4lleStSu6ave/lmrgyEbM3xfn4EoGWabxU+7RIw6tPbTazp9VFDV5VUo6VErjv9dly20uqOxfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFK11Rebc/K02waiobQdGxyaunxbUm5jWFJp2pg3m5d9AiEAmsWBuWHjs0/wTbDUkTVABe0T8lIxmuDX1un3XY0ajPg="}]},"maintainers":[{"name":"evansiroky","email":"evan.siroky@yahoo.com"},{"name":"david.emory","email":"david.emory@gmail.com"},{"name":"landonreed","email":"landontreed@gmail.com"},{"name":"mattwigway","email":"matt@indicatrix.org"},{"name":"trevorgerhardt","email":"trevorgerhardt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geocoder-arcgis-geojson-0.0.0.tgz_1517870467937_0.6555359531193972"},"directories":{}},"0.0.1":{"name":"@conveyal/geocoder-arcgis-geojson","version":"0.0.1","description":"Return argis geocode results as geojson","main":"./build/index","repository":{"type":"git","url":"git+https://github.com/conveyal/geocoder-arcgis-geojson.git"},"author":{"name":"esiroky@conveyal.com"},"license":"MIT","private":false,"scripts":{"cover":"mastarm test --coverage --coverage-paths index.js","generate-docs":"documentation readme index.js --document-exported=true -g --section=API","flow":"mastarm flow","lint":"mastarm lint","lint-docs":"documentation lint index.js","prepublish":"mastarm prepublish index.js:build/index.js","semantic-release":"semantic-release pre && npm publish && semantic-release post","test":"yarn run lint && yarn run flow && yarn run lint-docs && mastarm test","test-node":"mastarm test --test-environment node"},"mastarm lint":{"ignore":["flow-typed"]},"dependencies":{"@conveyal/lonlat":"^1.3.0","geocoder-arcgis":"^2.0.4"},"devDependencies":{"documentation":"^5.3.5","eslint-plugin-jest":"^21.7.0","flow-bin":"0.44.0","mastarm":"3","nock":"^9.1.6","semantic-release":"^6.3.6"},"bugs":{"url":"https://github.com/conveyal/geocoder-arcgis-geojson/issues"},"homepage":"https://github.com/conveyal/geocoder-arcgis-geojson","gitHead":"59803597587110f99b1c7258bef50b5b6776c12d","_id":"@conveyal/geocoder-arcgis-geojson@0.0.1","_shasum":"705aa0f6ae36c32cca9170b9f1de7842471f7d8c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.3","_npmUser":{"name":"evansiroky","email":"evan.siroky@yahoo.com"},"dist":{"shasum":"705aa0f6ae36c32cca9170b9f1de7842471f7d8c","tarball":"https://registry.npmjs.org/@conveyal/geocoder-arcgis-geojson/-/geocoder-arcgis-geojson-0.0.1.tgz","integrity":"sha512-jKsfW138muT0MDMN4Z4y/grzlrRGcO2udTuW+NsLnmJkJ2Fa1fGVEy/1ihz4Di9jhA0VKTj0mi4QYmyZkA5bYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy6j+q0GRfv0IzM+5LMaITGa9hyU300cJ2/ByZk+6LLQIgHCmbCpj4BCLdp5q+K+NjM9zrU6MdJTJTfAUnQHmqjAo="}]},"maintainers":[{"name":"evansiroky","email":"evan.siroky@yahoo.com"},{"name":"david.emory","email":"david.emory@gmail.com"},{"name":"landonreed","email":"landontreed@gmail.com"},{"name":"mattwigway","email":"matt@indicatrix.org"},{"name":"trevorgerhardt","email":"trevorgerhardt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geocoder-arcgis-geojson-0.0.1.tgz_1517871178861_0.6053529209457338"},"directories":{}},"0.0.2":{"name":"@conveyal/geocoder-arcgis-geojson","version":"0.0.2","description":"Return argis geocode results as geojson","main":"./build/index","repository":{"type":"git","url":"git+https://github.com/conveyal/geocoder-arcgis-geojson.git"},"author":{"name":"esiroky@conveyal.com"},"license":"MIT","private":false,"scripts":{"cover":"mastarm test --coverage --coverage-paths index.js","generate-docs":"documentation readme index.js --document-exported=true -g --section=API","flow":"mastarm flow","lint":"mastarm lint","lint-docs":"documentation lint index.js","prepublish":"mastarm prepublish index.js:build/index.js","semantic-release":"semantic-release pre && npm publish && semantic-release post","test":"yarn run lint && yarn run flow && yarn run lint-docs && mastarm test","test-node":"mastarm test --test-environment node"},"mastarm lint":{"ignore":["flow-typed"]},"dependencies":{"@conveyal/lonlat":"^1.3.0","geocoder-arcgis":"^2.0.4"},"devDependencies":{"documentation":"^5.3.5","eslint-plugin-jest":"^21.7.0","flow-bin":"0.44.0","mastarm":"3","nock":"^9.1.6","semantic-release":"^6.3.6"},"bugs":{"url":"https://github.com/conveyal/geocoder-arcgis-geojson/issues"},"homepage":"https://github.com/conveyal/geocoder-arcgis-geojson","gitHead":"42317d59187b8d769e95ef7173966227746b0710","_id":"@conveyal/geocoder-arcgis-geojson@0.0.2","_shasum":"19ddf10160a76aba2a669c0f13ac5c079ba48f6b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.13.0","_npmUser":{"name":"evansiroky","email":"evan.siroky@yahoo.com"},"dist":{"shasum":"19ddf10160a76aba2a669c0f13ac5c079ba48f6b","tarball":"https://registry.npmjs.org/@conveyal/geocoder-arcgis-geojson/-/geocoder-arcgis-geojson-0.0.2.tgz","fileCount":7,"unpackedSize":46343,"integrity":"sha512-Z3K6Rs5Bhd7T4SJep/d/21R8JFBTalFEkfNKoMAqWHoCYjME22wKSJLwpKIqL0lI1GVjTwKl1uyvreAGeqjJmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEktYzEsLMD89jUbpV6sqbIRslrzXgMew4xS5PP4xg1SAiEAlMtqI4WM6WYwBZ5TIpi0ROa/okLf9DJOj4VvqjEaHS8="}]},"maintainers":[{"name":"david.emory","email":"david.emory@gmail.com"},{"name":"evansiroky","email":"evan.siroky@yahoo.com"},{"name":"landonreed","email":"landontreed@gmail.com"},{"name":"mattwigway","email":"matt@indicatrix.org"},{"name":"trevorgerhardt","email":"trevorgerhardt@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geocoder-arcgis-geojson_0.0.2_1518679344502_0.6904615644323673"},"_hasShrinkwrap":false},"0.0.3":{"name":"@conveyal/geocoder-arcgis-geojson","version":"0.0.3","description":"Return argis geocode results as geojson","main":"dist/index.js","module":"dist/geocoder-arcgis-geojson.esm.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/conveyal/geocoder-arcgis-geojson.git"},"author":{"name":"esiroky@conveyal.com"},"license":"MIT","private":false,"scripts":{"build":"tsdx build -i index.ts --target node","cover":"tsdx test --coverage --coverage-paths index.ts","generate-docs":"documentation readme index.ts --document-exported=true -g --section=API","jest":"yarn build && tsdx test","lint":"tsdx lint __tests__ index.ts --quiet","lint-docs":"documentation lint index.ts","prepublish":"yarn build","semantic-release":"semantic-release","test":"yarn run lint && yarn run lint-docs && yarn jest","test-node":"yarn build && tsdx test --test-environment node"},"dependencies":{"@conveyal/lonlat":"^1.4.1","eslint-config-standard-jsx":"^10.0.0","geocoder-arcgis":"^2.0.5"},"devDependencies":{"@types/geojson":"^7946.0.8","@types/node":"^16.3.2","documentation":"^13.2.5","nock":"^13.1.1","semantic-release":"^17.4.4","tsdx":"git+https://github.com/ibi-group/tsdx.git"},"bugs":{"url":"https://github.com/conveyal/geocoder-arcgis-geojson/issues"},"homepage":"https://github.com/conveyal/geocoder-arcgis-geojson","gitHead":"687e9a2cccd103ea10839da497761151f57e31fb","_id":"@conveyal/geocoder-arcgis-geojson@0.0.3","_nodeVersion":"14.17.5","_npmVersion":"7.19.1","dist":{"integrity":"sha512-eb6EgqzbaUloxYyB44TF6YIefz302azcwbdUgVYUBJY4CzPLqKxBk6c6V+cx7iqxgtug3DqLuABDCSp1wGWuag==","shasum":"0d1381c1d4f0e18bcf0ab1958fc63d148e2d80da","tarball":"https://registry.npmjs.org/@conveyal/geocoder-arcgis-geojson/-/geocoder-arcgis-geojson-0.0.3.tgz","fileCount":12,"unpackedSize":99938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIAftCRA9TVsSAnZWagAA5ZIQAIERPuKcGAsbtxf3vHOH\n1EGFz4CDHRehHoCEgstVl2NVCq+Bgc3ZT+ihfMefZt8GT3zspFXZVZth43f5\n4sZ7rcyJkLWLL4R4pcnEByJmur0q2QOJkidJ1MpAemxbvVlwKgd+skt26fVu\n4jY33akfaAVN36NjsIpxj3gWact+s8lU1sVZ/0EugIMI4+Kxn0ySjg5qRWg8\nV3MnAAx9SCg+BrpFu/cFFumhKrQzEhClvOwU4jrjhjCMHaaBvl8Ud3zjo6hu\nhx1+UTOF5xZWaiujEaBhy83QSVuwah7n8MkCwvt0GJLF6RcQ+TEPv33uSLGe\nvJ+b0MaoFi5ptZpM8WFrXvr/dHKQjmwPXDm+X7dSQ81fbYkx+l2wOoSPNZZc\nmLe95ohTzlzFvWl92dhUxoGiqxw5dNAQIHyPUi49knf3rVvmI4hu2y7jhh7X\nw6+CZ6uH7zazqBswCKaRv6zloghP6k7qX98myhsqiaDejHpHK7Da9w5hGZ9G\nikeYaOiJjQNoMXnG81G6VzTARkj/As/ev0dLWQmYOo/31O/cVF9zqdPp9Rtn\ne1smxJnyOaVqbNuEggl5ClOcGRKXhTGA9K8MuXrAnAH4qvDOoA9U3aUO8+IO\nhN9Ob6RA4DjrJE3PzjqVPxy79b/9tfLIVhYkY1YPzyj/85SfNy0OpNWMYXNM\nCE/Y\r\n=BBnC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCS3mF9iqsrd6v8/revGVCsZtusMBhy56KACKfT9lKy/QIhAIZ2VJX3FmtbMmLXnUovml2b+a4oSGUQhSbQtEWLkatq"}]},"_npmUser":{"name":"evansiroky","email":"evan.siroky@yahoo.com"},"directories":{},"maintainers":[{"name":"trevorgerhardt","email":"trevorgerhardt@gmail.com"},{"name":"mattwigway","email":"matt@indicatrix.org"},{"name":"landonreed","email":"landontreed@gmail.com"},{"name":"david.emory","email":"david.emory@gmail.com"},{"name":"evansiroky","email":"evan.siroky@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geocoder-arcgis-geojson_0.0.3_1629489133706_0.7702048935936334"},"_hasShrinkwrap":false}},"readme":"# geocoder-arcgis-geojson\n\nIsomorphic geocoding for reuse across our JavaScript libraries. This library is built to match the API of [geocoder-arcgis](https://www.npmjs.com/package/geocoder-arcgis) in order to facilitate a quick conversion of our applications to use ESRI's geocoder.  Read the ESRI docs [here](https://developers.arcgis.com/labs/rest/get-an-access-token/). Coordinates must be anything that can be parsed by [lonlng](https://github.com/conveyal/lonlng).\n\n-   [Examples](#examples)\n-   [API Documentation](#api)\n\n## Examples\n\nAll API methods (except autocomplete) accept the options `clientId`, `clientSecret` and `forStorage`.  When using `forStorage`, the `clientId` and `clientSecret` options are required.\n\n### `Autocomplete`\n\n```js\nimport {autocomplete} from 'geocoder-arcgis-geojson'\n\nautocomplete({\n  boundary: {\n    rect: {\n      minLon: minLon,\n      minLat: minLat,\n      maxLon: maxLon,\n      maxLat: maxLat\n    }\n  },\n  focusPoint: {lat: 39.7691, lon: -86.1570},\n  text: '1301 U Str'\n}).then((result) => {\n  console.log(result)\n}).catch((err) => {\n  console.error(err)\n})\n```\n\n### `Bulk`\n\n```js\nimport {autocomplete} from 'geocoder-arcgis-geojson'\n\nbulk({\n  addresses: [\n    '1301 U Str',\n    '123 Main St'\n  ],\n  boundary: {\n    rect: {\n      minLon: minLon,\n      minLat: minLat,\n      maxLon: maxLon,\n      maxLat: maxLat\n    }\n  },\n  clientId: 'secret',\n  clientSecret: 'secret',\n  focusPoint: {lat: 39.7691, lon: -86.1570}\n}).then((result) => {\n  console.log(result)\n}).catch((err) => {\n  console.error(err)\n})\n```\n\n### `Reverse`\n\n```js\nimport {reverse} from 'geocoder-arcgis-geojson'\n\nreverse({\n  point: {\n    lat: 39.7691,\n    lng: -86.1570\n  }\n}).then((result) => {\n  console.log(result)\n}).catch((err) => {\n  console.error(err)\n})\n```\n\n### `search({apiKey, text, ...options})`\n\n```js\nimport {search} from 'geocoder-arcgis-geojson'\n\nsearch({\n  text: '1301 U Street NW, Washington, DC',\n  focusPoint: {lat: 39.7691, lon: -86.1570},\n  boundary: {\n    rect: {\n      minLon: minLon,\n      minLat: minLat,\n      maxLon: maxLon,\n      maxLat: maxLat\n    }\n  }\n}).then((geojson) => {\n  console.log(geojson)\n}).catch((err) => {\n  console.error(err)\n})\n```\n\n## API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n-   [autocomplete](#autocomplete)\n-   [bulk](#bulk)\n-   [reverse](#reverse)\n-   [search](#search)\n\n### autocomplete\n\n[index.js:94-128](https://github.com/conveyal/geocoder-arcgis-geojson/blob/c4b5701a0403d4a80761b1528624bd7795e0dcfd/index.js#L94-L128 \"Source code on GitHub\")\n\nSearch for and address using\nESRI's [suggest](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm)\nservice.  This service does not return geojson, instead it returns the list\nof address suggestions and corresponding magicKeys\n\n**Parameters**\n\n-   `$0` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n    -   `$0.clientId` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** \n    -   `$0.clientSecret` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** \n    -   `$0.boundary` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** \n    -   `$0.focusPoint` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** \n    -   `$0.text` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** query text\n    -   `$0.url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** optional URL to override ESRI suggest endpoint\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)** A Promise that'll get resolved with the suggest result\n\n### bulk\n\n[index.js:144-195](https://github.com/conveyal/geocoder-arcgis-geojson/blob/c4b5701a0403d4a80761b1528624bd7795e0dcfd/index.js#L144-L195 \"Source code on GitHub\")\n\nBulk geocode a list of addresses using\nESRI's [geocodeAddresses](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-geocode-addresses.htm)\nservice.\n\n**Parameters**\n\n-   `$0` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n    -   `$0.addresses` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)** Can be array of strings or objects.  Strings can be addresses or coordinates in the form `lon,lat`\n    -   `$0.clientId` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** \n    -   `$0.clientSecret` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** \n    -   `$0.boundary` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** \n    -   `$0.focusPoint` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** \n    -   `$0.url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** \n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)** A Promise that'll get resolved with the bulk geocode result\n\n### reverse\n\n[index.js:210-251](https://github.com/conveyal/geocoder-arcgis-geojson/blob/c4b5701a0403d4a80761b1528624bd7795e0dcfd/index.js#L210-L251 \"Source code on GitHub\")\n\nReverse geocode using\nESRI's [reverseGeocode](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-reverse-geocode.htm)\nservice.\n\n**Parameters**\n\n-   `$0` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n    -   `$0.clientId` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** \n    -   `$0.clientSecret` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** \n    -   `$0.forStorage` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Specifies whether result is inteded to be stored (optional, default `false`)\n    -   `$0.point` **{lat: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), lon: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)}** Point to reverse geocode\n    -   `$0.url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** optional URL to override ESRI reverseGeocode endpoint\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)** A Promise that'll get resolved with reverse geocode result\n\n### search\n\n[index.js:270-324](https://github.com/conveyal/geocoder-arcgis-geojson/blob/c4b5701a0403d4a80761b1528624bd7795e0dcfd/index.js#L270-L324 \"Source code on GitHub\")\n\nSearch for an address using\nESRI's [findAddressCandidates](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm)\nservice.\n\n**Parameters**\n\n-   `$0` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n    -   `$0.clientId` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** \n    -   `$0.clientSecret` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** \n    -   `$0.boundary` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** \n    -   `$0.focusPoint` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** \n    -   `$0.forStorage` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Specifies whether result is inteded to be stored (optional, default `false`)\n    -   `$0.magicKey` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** magicKey to use in searching as obtained from `suggest` results\n    -   `$0.size` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)**  (optional, default `10`)\n    -   `$0.text` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The address text to query for\n    -   `$0.url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** optional URL to override ESRI reverseGeocode endpoint\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)** A Promise that'll get resolved with search result\n","maintainers":[{"name":"trevorgerhardt","email":"trevorgerhardt@gmail.com"},{"name":"mattwigway","email":"matt@indicatrix.org"},{"name":"landonreed","email":"landontreed@gmail.com"},{"name":"david.emory","email":"david.emory@gmail.com"},{"name":"evansiroky","email":"evan.siroky@yahoo.com"}],"time":{"modified":"2022-06-12T16:38:57.710Z","created":"2018-02-05T22:21:46.896Z","0.0.0-semantically-released":"2018-02-05T22:21:46.896Z","0.0.0":"2018-02-05T22:41:09.036Z","0.0.1":"2018-02-05T22:52:59.884Z","0.0.2":"2018-02-15T07:22:25.353Z","0.0.3":"2021-08-20T19:52:13.856Z"},"homepage":"https://github.com/conveyal/geocoder-arcgis-geojson","repository":{"type":"git","url":"git+https://github.com/conveyal/geocoder-arcgis-geojson.git"},"author":{"name":"esiroky@conveyal.com"},"bugs":{"url":"https://github.com/conveyal/geocoder-arcgis-geojson/issues"},"license":"MIT","readmeFilename":"README.md"}