{"_id":"extent","_rev":"116-60c50ae11c021cf5bab011a0be5dc31b","name":"extent","description":"a geographic extent object","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.0":{"name":"extent","version":"0.0.0","description":"a geographic extent object","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git@github.com:mapbox/extent.git"},"keywords":["extent","geographic","lat","lon","browser"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/extent/issues"},"homepage":"https://github.com/mapbox/extent","devDependencies":{"tap":"~0.4.8"},"_id":"extent@0.0.0","dist":{"shasum":"32cfd66c260f8107b651e580b054954e0c5c3c4b","tarball":"https://registry.npmjs.org/extent/-/extent-0.0.0.tgz","integrity":"sha512-KpfPV4SBjyI7TkIVOad/TujgGmnQuO8XvpHFb9Y+9aBHf/ibApwj5baQFewKjkznt2BzTH6vh+pCBVrdtWTU9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHz5LwU6wiHyzn+QTSfYGPQZY6f/OsGh4SGl3NLWLTuiAiEAz5PxncvA7Vj/ngHH0S8rqlkS6n0j93i0/wyVMwccGuw="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","directories":{}},"0.1.0":{"name":"extent","version":"0.1.0","description":"a geographic extent object","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git@github.com:mapbox/extent.git"},"keywords":["extent","geographic","lat","lon","browser"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/extent/issues"},"homepage":"https://github.com/mapbox/extent","devDependencies":{"tap":"~0.4.8"},"_id":"extent@0.1.0","dist":{"shasum":"6199feea1e588d789e38d59422ef04bff422ae4a","tarball":"https://registry.npmjs.org/extent/-/extent-0.1.0.tgz","integrity":"sha512-DckANZn55KKfZV6g33F0n9VgVgCRG2rqhRIX3QTxIR6VW+083Qpjwaie+/RdPHPeS0ER4zs/VshGIKM4vGzKzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBf24D2kx+znW0RAdJQhwUCLhgn7wk+F0z+kRx3E5wXAiEAnyw6EQMZBnH3fOugp9Ybzo/yg1aB8REn17aDgonnQc0="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","directories":{}},"0.2.0":{"name":"extent","version":"0.2.0","description":"a geographic extent object","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git@github.com:mapbox/extent.git"},"keywords":["extent","geographic","lat","lon","browser"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/extent/issues"},"homepage":"https://github.com/mapbox/extent","devDependencies":{"tap":"~0.4.8"},"_id":"extent@0.2.0","dist":{"shasum":"efad0869682d3628bdbeeb140c1f4d0023e6bec4","tarball":"https://registry.npmjs.org/extent/-/extent-0.2.0.tgz","integrity":"sha512-QsJWaPxU9+W5vxhpL681cPDKnmJ/b857mPKGbeDSG4McmPzBEWDY2fZCUrQD2dBMYyX0HU+ye7Yw6Tdgs/kB3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVcUSp6mG5UBehbccoLwFgqh4I+vKy/m/VaCceKK1kywIhAPQa0/Elw19+telxMT94XdqRYmRWkkEbfdPs75ntLv/o"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","directories":{}},"0.3.0":{"name":"extent","version":"0.3.0","description":"a geographic extent object","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git@github.com:mapbox/extent.git"},"keywords":["extent","geographic","lat","lon","browser"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/extent/issues"},"homepage":"https://github.com/mapbox/extent","devDependencies":{"tap":"~0.4.8","benchmark":"~1.0.0","point-in-polygon":"0.0.0"},"_id":"extent@0.3.0","dist":{"shasum":"969f6366b702082a7e3126af2476b5c194efac3c","tarball":"https://registry.npmjs.org/extent/-/extent-0.3.0.tgz","integrity":"sha512-ukNGS+NtY9iFxIFInI8PibnEx2N8IIRQBKbJ2+6Vf7vs9e6IN050M+1oDf8gc8jd+JcFLeQ7skk2ASuaRx++yA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1kgDWGbhdiLeCFr4kefSZu3Mqy1n0vAvlss9wh1rLXQIhAJ8j/O0oG3fTmCpDODDTeE1poqjZdT3fLQmTuBZz7gXF"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"},{"name":"lxbarth","email":"alex@developmentseed.org"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"willwhite","email":"will@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@developmentseed.org"}],"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","directories":{}},"0.3.1":{"name":"extent","version":"0.3.1","description":"a geographic extent object","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git@github.com:mapbox/extent.git"},"keywords":["extent","geographic","lat","lon","browser"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/extent/issues"},"homepage":"https://github.com/mapbox/extent","devDependencies":{"tap":"~0.4.8","benchmark":"~1.0.0","point-in-polygon":"0.0.0"},"_id":"extent@0.3.1","dist":{"shasum":"618758d2c98a5fbcb161b9e2a69790d1a610686d","tarball":"https://registry.npmjs.org/extent/-/extent-0.3.1.tgz","integrity":"sha512-31D1d6Zn0nMwOkLGagRjSRrLvISCW8BKXIqJ+OlsYxhMRtheUY7biKqw5Px2866XmfgKMpqeFLjQKv0Bq30Y+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF3EkZI1Ue3uITCHL9hA/C9F3aRMp1kqekmx+HMuAL0NAiA3IZ+tK72z0LzXJAudAb5WyoM2vBGzHCj4UlnWTc5eDA=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"},{"name":"lxbarth","email":"alex@developmentseed.org"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"willwhite","email":"will@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@developmentseed.org"}],"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","directories":{}},"0.4.0":{"name":"extent","version":"0.4.0","description":"a geographic extent object","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git@github.com:mapbox/extent.git"},"keywords":["extent","geographic","lat","lon","browser"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/extent/issues"},"homepage":"https://github.com/mapbox/extent","devDependencies":{"tap":"~0.4.8","benchmark":"~1.0.0","point-in-polygon":"0.0.0"},"_id":"extent@0.4.0","dist":{"shasum":"38e1a2558ca6a715683b60e198ecfa936a34d712","tarball":"https://registry.npmjs.org/extent/-/extent-0.4.0.tgz","integrity":"sha512-Tbhb9PScJA2+fMm/bdUryfGAXn+DaX3ksnOdsLH3HVqNR9jgTrdUgjDZdeTV1s5pcrP6iLjHwZCP3VSKZ9DqVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVd/vQxN00yfTiHn9cf6PBV0sKPGW9Ib7syObfQXstQgIgLcvOChyC5j/pPLZ7bSVDWTYvuyWQD90cSgswA/Q1V20="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"},{"name":"lxbarth","email":"alex@developmentseed.org"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"willwhite","email":"will@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@developmentseed.org"}],"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","directories":{}}},"readme":"[![Build Status](https://travis-ci.org/mapbox/extent.svg)](https://travis-ci.org/mapbox/extent)\n\n# extent\n\nA simple geographical extent.\n\n## api\n\n### `extent()`\n\nCreate a new extent object\n\n### `extent([w, s, e, n])`\n\nCreate a new extent object, given bounds as an array.\n\n### `extent.include([lon, lat])`\n\nExpand the extent to include a lon, lat point.\n\n### `extent.union([w, s, e, n] or other extent)`\n\nExpand the extent to include another extent.\n\n### `extent.equals([w, s, e, n] or other extent)`\n\nWhether this extent is exactly equal to another.\n\n### `extent.bbox()`\n\nGet the extent's value. `null` if no points have\nbeen included yet. Order is `[WSEN]` to match the [GeoJSON](http://geojson.org/)\nstandard.\n\n### `extent.center()`\n\nGet the centerpoint of the extent as a `[longitude, latitude]` array.\n\n### `extent.polygon()`\n\nGet the extent as a [GeoJSON](http://geojson.org/) Polygon geometry object.\n\n### `extent.contains([lon, lat])`\n\nReturns `true` if this extent contains the given point, and false if not. Points\non the boundary of the extent are considered to be contained. If the extent is\ninvalid, returns `null`.\n\n### `extent.contains()`\n\nReturns a function that evaluates whether points are contained in the extent -\nsame behavior as `.contains([lon, lat])`. This pre-compiles the function with the\ncurrent extent values, yielding a roughly 3x speedup.\n","maintainers":[{"email":"accounts@mapbox.com","name":"mapbox-admin"}],"time":{"modified":"2022-09-20T01:03:49.591Z","created":"2014-04-20T18:23:56.308Z","0.0.0":"2014-04-20T18:23:56.308Z","0.1.0":"2014-07-16T22:36:39.720Z","0.2.0":"2014-07-24T17:19:51.644Z","0.3.0":"2014-08-18T16:45:03.780Z","0.3.1":"2014-08-28T18:26:46.855Z","0.4.0":"2014-08-28T18:26:55.174Z"},"homepage":"https://github.com/mapbox/extent","keywords":["extent","geographic","lat","lon","browser"],"repository":{"type":"git","url":"git@github.com:mapbox/extent.git"},"author":{"name":"Tom MacWright"},"bugs":{"url":"https://github.com/mapbox/extent/issues"},"license":"ISC","readmeFilename":"README.md"}