{"_id":"whoots-js","_rev":"8-d2f9ed1c592035137936d9df3d5363f6","name":"whoots-js","description":"Request tiles from WMS servers that support EPSG:3857","dist-tags":{"latest":"2.1.0"},"versions":{"0.0.0":{"name":"whoots-js","description":"Request tiles from WMS servers that support EPSG:3857","version":"0.0.0","main":"index.js","license":"ISC","author":{"name":"Bryan Housel","email":"bryan@mapbox.com"},"repository":{"type":"git","url":"git://github.com/mapbox/whoots-js.git"},"bugs":{"url":"https://github.com/mapbox/whoots-js/issues"},"keywords":["WMS","tiles","EPSG:3857"],"devDependencies":{"documentation":"^4.0.0-beta","eslint":"^1.6.0","retire":"*","tap":"^2.1.1"},"scripts":{"retire":"retire -p","lint":"eslint *.js test","docs":"documentation build --lint --github --format html --output docs/","test":"npm run lint && tap --cov test/*.js","start":"node server.js"},"homepage":"https://github.com/mapbox/whoots-js#readme","directories":{"doc":"docs","test":"test"},"dependencies":{},"gitHead":"e2be7cf2e712e50c53bdd36705a7634daafe27e8","_id":"whoots-js@0.0.0","_shasum":"6a1423e5e6ab486f518400ac4acf05a698f3fe53","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"bhousel","email":"bryan@mapbox.com"},"maintainers":[{"name":"bhousel","email":"bryan@mapbox.com"}],"dist":{"shasum":"6a1423e5e6ab486f518400ac4acf05a698f3fe53","tarball":"https://registry.npmjs.org/whoots-js/-/whoots-js-0.0.0.tgz","integrity":"sha512-/2LRhtvMyzLRK/hP9Spm4QInZJFz5IQdbnP/IufyE5NHeYIVgKN4RAanzB/wnagIcPz8xFNI0Shu9glSwIXiQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5RPr2lI8HBPegTuwcvK4HrkuiBqfnnYyH1F/G/lf4QgIgJyATuTw77OzZ/REHOS05vNyDHPaHnK92C3E/DyPKsfQ="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/whoots-js-0.0.0.tgz_1463833818911_0.835814411053434"},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/whoots-js instead"},"1.0.0":{"name":"whoots-js","description":"Request tiles from WMS servers that support EPSG:3857","version":"1.0.0","main":"index.js","license":"ISC","author":{"name":"Bryan Housel","email":"bryan@mapbox.com"},"repository":{"type":"git","url":"git://github.com/mapbox/whoots-js.git"},"bugs":{"url":"https://github.com/mapbox/whoots-js/issues"},"keywords":["WMS","tiles","EPSG:3857"],"devDependencies":{"documentation":"^4.0.0-beta","eslint":"^1.6.0","retire":"*","tap":"^2.1.1"},"scripts":{"retire":"retire -p","lint":"eslint *.js test","docs":"documentation build --lint --github --format html --output docs/","test":"npm run lint && tap --cov test/*.js","start":"node server.js"},"homepage":"https://github.com/mapbox/whoots-js#readme","directories":{"doc":"docs","test":"test"},"dependencies":{},"gitHead":"83daa6586d95a23a932cde7226373240d7c52de4","_id":"whoots-js@1.0.0","_shasum":"f4b6434c9faee06da84be98c39894f791196c5f9","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"bhousel","email":"bryan@mapbox.com"},"maintainers":[{"name":"bhousel","email":"bryan@mapbox.com"}],"dist":{"shasum":"f4b6434c9faee06da84be98c39894f791196c5f9","tarball":"https://registry.npmjs.org/whoots-js/-/whoots-js-1.0.0.tgz","integrity":"sha512-0pMbYSca17+HMZmVDdN9ggH+3eDCKknFDqUQCWsKcJbn6MIyoMoP6J/F86pmbFf90mnmabRhpEhBK1i0ImJNSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAaeys5PAm10OWGXzSrgz00c+kP4+jNvPE/dEE9n3WlQIhANzTtxhEV86GzaAGRCN/f4wyL96UcqCjh+H5qObVHu5t"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/whoots-js-1.0.0.tgz_1464024205003_0.5560325330588967"},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/whoots-js instead"},"1.1.0":{"name":"whoots-js","description":"Request tiles from WMS servers that support EPSG:3857","version":"1.1.0","main":"index.js","license":"ISC","author":{"name":"Bryan Housel","email":"bryan@mapbox.com"},"repository":{"type":"git","url":"git://github.com/mapbox/whoots-js.git"},"bugs":{"url":"https://github.com/mapbox/whoots-js/issues"},"keywords":["WMS","tiles","EPSG:3857"],"devDependencies":{"documentation":"^4.0.0-beta","eslint":"^1.6.0","retire":"*","tap":"^2.1.1"},"scripts":{"retire":"retire -p","lint":"eslint *.js test","docs":"documentation build --lint --github --format html --output docs/","test":"npm run lint && tap --cov test/*.js","start":"node server.js"},"homepage":"https://github.com/mapbox/whoots-js#readme","directories":{"doc":"docs","test":"test"},"dependencies":{},"gitHead":"2775a37f4102a1f2bef303f5d7aaa1b0810defbe","_id":"whoots-js@1.1.0","_shasum":"08a1847efb67ed433d36cb24a48b75c38c61b0a9","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"bhousel","email":"bryan@mapbox.com"},"maintainers":[{"name":"bhousel","email":"bryan@mapbox.com"}],"dist":{"shasum":"08a1847efb67ed433d36cb24a48b75c38c61b0a9","tarball":"https://registry.npmjs.org/whoots-js/-/whoots-js-1.1.0.tgz","integrity":"sha512-CmNIh1Uf7llN+fd8yZB403btMKzzlv2P15ab/9uiSVTg9NCJjaWMzpGb7FX8MH5mc9+8zgo+/LSL9Ete63/IqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID4qvfRHxrARIysVjDcEA9njAUy2Ew65Rx2UEVAJvuctAiA7B7Xtb3osSLVUCoH79x6NWWp1siq22lagBfXAtgYUkg=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/whoots-js-1.1.0.tgz_1464034525331_0.9465061852242798"},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/whoots-js instead"},"2.0.0":{"name":"whoots-js","description":"Request tiles from WMS servers that support EPSG:3857","version":"2.0.0","main":"index.js","license":"ISC","author":{"name":"Bryan Housel","email":"bryan@mapbox.com"},"repository":{"type":"git","url":"git://github.com/mapbox/whoots-js.git"},"bugs":{"url":"https://github.com/mapbox/whoots-js/issues"},"keywords":["WMS","tiles","EPSG:3857"],"devDependencies":{"documentation":"^4.0.0-beta","eslint":"^1.6.0","retire":"*","tap":"^2.1.1"},"scripts":{"retire":"retire -p","lint":"eslint *.js test","docs":"documentation build --lint --github --format html --output docs/","test":"npm run lint && tap --cov test/*.js","start":"node server.js"},"homepage":"https://github.com/mapbox/whoots-js#readme","directories":{"doc":"docs","test":"test"},"dependencies":{},"gitHead":"8df78345153100e44ba5628aad1f111ad56b57a7","_id":"whoots-js@2.0.0","_shasum":"3e7176da2144a5820549888438a705f7c4cc977d","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"bhousel","email":"bryan@mapbox.com"},"maintainers":[{"name":"bhousel","email":"bryan@mapbox.com"}],"dist":{"shasum":"3e7176da2144a5820549888438a705f7c4cc977d","tarball":"https://registry.npmjs.org/whoots-js/-/whoots-js-2.0.0.tgz","integrity":"sha512-VAy++FfsbPgoo3k3DigmZo7ZM5Vto2UaRRv52wdbVppoxREOS2PPJ+LNm3FZPtjcw2Iuu6WxOf0veeBeLFFgUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTm2ToRCO+tias2FO5PCmnKAr8kNHU95LAvEi7kytk4wIgHzykHQs+buBUOGtZgy5FnlXkeG1RXKRZk/y1THeUqGo="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/whoots-js-2.0.0.tgz_1464815372760_0.9385215861257166"},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/whoots-js instead"},"2.1.0":{"name":"whoots-js","description":"Request tiles from WMS servers that support EPSG:3857","version":"2.1.0","main":"index.umd.js","jsnext:main":"index.js","license":"ISC","author":{"name":"Bryan Housel","email":"bryan@mapbox.com"},"repository":{"type":"git","url":"git://github.com/mapbox/whoots-js.git"},"bugs":{"url":"https://github.com/mapbox/whoots-js/issues"},"keywords":["WMS","tiles","EPSG:3857"],"devDependencies":{"documentation":"4.0.0-beta5","eslint":"3.0.1","rollup":"0.34.1","tap":"6.2.0"},"engines":{"node":">=4.0.0"},"scripts":{"pretest":"rollup -f umd -n WhooTS index.js --no-indent --no-strict -o index.umd.js","lint":"eslint index.js server.js test","docs":"documentation build index.js --lint --github --format html --output docs/","test":"npm run lint && tap --cov test/*.js","start":"node server.js"},"homepage":"https://github.com/mapbox/whoots-js#readme","directories":{"doc":"docs","test":"test"},"dependencies":{},"gitHead":"2ac5f25e39aa8fa350f010f0e2d02aaa37afdc52","_id":"whoots-js@2.1.0","_shasum":"bcb201c34e0eaf335fcce5ae2cf874579a99c487","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"bhousel","email":"bryan@mapbox.com"},"maintainers":[{"name":"bhousel","email":"bryan@mapbox.com"}],"dist":{"shasum":"bcb201c34e0eaf335fcce5ae2cf874579a99c487","tarball":"https://registry.npmjs.org/whoots-js/-/whoots-js-2.1.0.tgz","integrity":"sha512-tlEammX5YY36blHT+4XQpPxxUR2sP9SSBXMGNJJywLmyOLMN3Hwgqsjm4d6kpLbZMfxrFvPvNugcrtTZIVSpUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDSah5xC4fPl3qAsz+hsYVwE3NqrGEOyQ0p8riii/p3FAiAqVoIdUII+u68pU89kYkSqSaYAHcZY+qy7OBS+REO3LQ=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/whoots-js-2.1.0.tgz_1468617628263_0.9219172450248152"},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/whoots-js instead"}},"readme":"[![npm version](https://badge.fury.io/js/whoots-js.svg)](https://badge.fury.io/js/whoots-js)\n[![Build Status](https://circleci.com/gh/mapbox/whoots-js.svg?style=svg)](https://circleci.com/gh/mapbox/whoots-js)\n\n## whoots-js\n\nRequest tiles from WMS servers that support EPSG:3857.\n\nThis project is a JavaScript port of https://github.com/timwaters/whoots by Tim Waters.\n\n\n### What is it?\n\nGiven a `z/x/y` tile coordinate like `19/154308/197167`, `whoots-js` can request imagery from an EPSG:3857 supporting WMS server like this:\n\n```\nhttp://geodata.state.nj.us/imagerywms/Natural2015?\n  bbox=-8242663.382160267,4966572.349857613,-8242586.945131982,4966648.786885899\n  &format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857\n  &width=256&height=256&layers=Natural2015\n```\n\n\n### Usage\n\n```js\n// Get an image url for a given tile coordinate\nvar baseUrl = 'http://geodata.state.nj.us/imagerywms/Natural2015';\nvar layer = 'Natural2015';\nvar url = WhooTS.getUrl(baseUrl, layer, 154308, 197167, 19);\n```\n\n\n### Server\n\nThis project includes a sample redirecting wms proxy server in `server.js`.\n\n`npm run server` will start a local server on port 8080 that redirects tile requests.\n\nValid tile requests look like:\n\n```\nhttp://localhost:8080/tms/{z}/{x}/{y}/{layer}/{endpoint}\nhttp://localhost:8080/tms/19/154308/197167/Natural2015/http://geodata.state.nj.us/imagerywms/Natural2015\n```\n\n\n### Documentation\n\nComplete API documentation is here:  http://mapbox.github.io/whoots-js/docs/\n","maintainers":[{"name":"bhousel","email":"bryan@mapbox.com"}],"time":{"modified":"2022-06-29T01:37:53.001Z","created":"2016-05-21T12:30:19.894Z","0.0.0":"2016-05-21T12:30:19.894Z","1.0.0":"2016-05-23T17:23:26.125Z","1.1.0":"2016-05-23T20:15:28.349Z","2.0.0":"2016-06-01T21:09:34.028Z","2.1.0":"2016-07-15T21:20:31.491Z"},"homepage":"https://github.com/mapbox/whoots-js#readme","keywords":["WMS","tiles","EPSG:3857"],"repository":{"type":"git","url":"git://github.com/mapbox/whoots-js.git"},"author":{"name":"Bryan Housel","email":"bryan@mapbox.com"},"bugs":{"url":"https://github.com/mapbox/whoots-js/issues"},"license":"ISC","readmeFilename":"README.md"}