{"versions":{"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","size":2721,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extent/-/extent-0.4.0.tgz","integrity":"sha512-Tbhb9PScJA2+fMm/bdUryfGAXn+DaX3ksnOdsLH3HVqNR9jgTrdUgjDZdeTV1s5pcrP6iLjHwZCP3VSKZ9DqVA=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1409250415174,"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","_hasShrinkwrap":false,"_cnpm_publish_time":1409250415174,"_cnpmcore_publish_time":"2021-12-16T17:36:15.491Z","contributors":[]},"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","size":2724,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extent/-/extent-0.3.1.tgz","integrity":"sha512-31D1d6Zn0nMwOkLGagRjSRrLvISCW8BKXIqJ+OlsYxhMRtheUY7biKqw5Px2866XmfgKMpqeFLjQKv0Bq30Y+Q=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1409250406855,"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","_hasShrinkwrap":false,"_cnpm_publish_time":1409250406855,"_cnpmcore_publish_time":"2021-12-16T17:36:15.681Z","contributors":[]},"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","size":2535,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extent/-/extent-0.3.0.tgz","integrity":"sha512-ukNGS+NtY9iFxIFInI8PibnEx2N8IIRQBKbJ2+6Vf7vs9e6IN050M+1oDf8gc8jd+JcFLeQ7skk2ASuaRx++yA=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1408380303780,"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","_hasShrinkwrap":false,"_cnpm_publish_time":1408380303780,"_cnpmcore_publish_time":"2021-12-16T17:36:15.973Z","contributors":[]},"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","size":1617,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extent/-/extent-0.2.0.tgz","integrity":"sha512-QsJWaPxU9+W5vxhpL681cPDKnmJ/b857mPKGbeDSG4McmPzBEWDY2fZCUrQD2dBMYyX0HU+ye7Yw6Tdgs/kB3g=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1406222391644,"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","_hasShrinkwrap":false,"_cnpm_publish_time":1406222391644,"_cnpmcore_publish_time":"2021-12-16T17:36:16.161Z","contributors":[]},"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","size":1390,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extent/-/extent-0.1.0.tgz","integrity":"sha512-DckANZn55KKfZV6g33F0n9VgVgCRG2rqhRIX3QTxIR6VW+083Qpjwaie+/RdPHPeS0ER4zs/VshGIKM4vGzKzw=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1405550199720,"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","_hasShrinkwrap":false,"_cnpm_publish_time":1405550199720,"_cnpmcore_publish_time":"2021-12-16T17:36:16.357Z","contributors":[]},"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","size":1024,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/extent/-/extent-0.0.0.tgz","integrity":"sha512-KpfPV4SBjyI7TkIVOad/TujgGmnQuO8XvpHFb9Y+9aBHf/ibApwj5baQFewKjkznt2BzTH6vh+pCBVrdtWTU9A=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1398018236308,"deprecated":"This module is now under the @mapbox namespace: install @mapbox/extent instead","_hasShrinkwrap":false,"_cnpm_publish_time":1398018236308,"_cnpmcore_publish_time":"2021-12-16T17:36:16.564Z","contributors":[]}},"dist-tags":{"latest":"0.4.0"},"name":"extent","time":{"created":"2022-01-26T21:15:56.808Z","modified":"2022-09-20T01:04:30.190Z","0.4.0":"2014-08-28T18:26:55.174Z","0.3.1":"2014-08-28T18:26:46.855Z","0.3.0":"2014-08-18T16:45:03.780Z","0.2.0":"2014-07-24T17:19:51.644Z","0.1.0":"2014-07-16T22:36:39.720Z","0.0.0":"2014-04-20T18:23:56.308Z"},"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.","users":{}}