{"versions":{"0.3.2":{"name":"geojson-extent","version":"0.3.2","description":"compute the bounding box of geojson features","main":"index.js","scripts":{"test":"eslint index.js && tap test/*.js","build":"browserify -s geojsonExtent index.js | uglifyjs -c > geojson-extent.js"},"bin":{"geojson-extent":"./bin/geojson-extent"},"repository":{"type":"git","url":"git+ssh://git@github.com/mapbox/geojson-extent.git"},"keywords":["geojson","extent","browser","geo","boundingbox","bounds"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/geojson-extent/issues"},"homepage":"https://github.com/mapbox/geojson-extent","dependencies":{"extent":"0.2.0","geojson-coords":"0.0.0","rw":"~0.1.4","traverse":"~0.6.6"},"devDependencies":{"tap":"~0.4.8","uglifyjs":"~2.4.10","browserify":"~5.9.3","eslint":"~1.00.0","eslint-config-unstyled":"^1.1.0"},"gitHead":"acbd52758119c44915f5d02dc071a185d1277f9f","_id":"geojson-extent@0.3.2","_shasum":"2ee5f3fabf0c7659c0509e05782910dfe1df27e8","_from":".","_npmVersion":"2.14.17","_nodeVersion":"5.5.0","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"dist":{"shasum":"2ee5f3fabf0c7659c0509e05782910dfe1df27e8","size":5590,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/geojson-extent/-/geojson-extent-0.3.2.tgz","integrity":"sha512-n7dhmd1Q+ysiOUNRyl/N/0bLpIfExMFDUkLj8zXB3wabinAVm/EkKXE+FVgWvq9tANeaQW0WeJqdRS9XpdNmlg=="},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/geojson-extent-0.3.2.tgz_1455059366637_0.565317046130076"},"directories":{},"publish_time":1455059368333,"deprecated":"This module has moved: please switch to @mapbox/geojson-extent","_hasShrinkwrap":false,"_cnpm_publish_time":1455059368333,"_cnpmcore_publish_time":"2021-12-16T15:44:31.579Z","contributors":[]},"0.3.1":{"name":"geojson-extent","version":"0.3.1","description":"compute the bounding box of geojson features","main":"index.js","scripts":{"test":"tap test/*.js","build":"browserify -s geojsonExtent index.js | uglifyjs -c > geojson-extent.js"},"bin":{"geojson-extent":"./bin/geojson-extent"},"repository":{"type":"git","url":"git@github.com:mapbox/geojson-extent.git"},"keywords":["geojson","extent","browser","geo","boundingbox","bounds"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/geojson-extent/issues"},"homepage":"https://github.com/mapbox/geojson-extent","dependencies":{"extent":"0.2.0","geojson-coords":"0.0.0","rw":"~0.1.4","traverse":"~0.6.6"},"devDependencies":{"tap":"~0.4.8","uglifyjs":"~2.3.6","browserify":"~5.9.3"},"_id":"geojson-extent@0.3.1","dist":{"shasum":"9ff048416e44f30a751875728fd0b29a69908e61","size":5475,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/geojson-extent/-/geojson-extent-0.3.1.tgz","integrity":"sha512-EdhekFGCToCgUlB2toh99H76jJRHTUw8VCDTPGq66VGyUriXe5QQM71oRRgsTvmUWrnixZjBCORbkmXQarrM2Q=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1407790896183,"deprecated":"This module has moved: please switch to @mapbox/geojson-extent","_hasShrinkwrap":false,"_cnpm_publish_time":1407790896183,"_cnpmcore_publish_time":"2021-12-16T15:44:31.791Z","contributors":[]},"0.3.0":{"name":"geojson-extent","version":"0.3.0","description":"compute the bounding box of geojson features","main":"index.js","scripts":{"test":"tap test/*.js","build":"browserify -s geojsonExtent index.js | uglifyjs -c > geojson-extent.js"},"bin":{"geojson-extent":"./bin/geojson-extent"},"repository":{"type":"git","url":"git@github.com:mapbox/geojson-extent.git"},"keywords":["geojson","extent","browser","geo","boundingbox","bounds"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/geojson-extent/issues"},"homepage":"https://github.com/mapbox/geojson-extent","dependencies":{"extent":"0.1.0","geojson-coords":"0.0.0","rw":"~0.1.4","traverse":"~0.6.6"},"devDependencies":{"tap":"~0.4.8","uglifyjs":"~2.3.6","browserify":"~3.46.0"},"_id":"geojson-extent@0.3.0","dist":{"shasum":"254dae3d79798567e83de1b04252618441c5858f","size":3813,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/geojson-extent/-/geojson-extent-0.3.0.tgz","integrity":"sha512-p05vHardgowhctMOPWW3ag8e5WNE+LCxSLYsMRZMsjqEq1n5C87+dM4/p67oSK+jkqdufm7fFrsOnJGsxloe7Q=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1406912198932,"deprecated":"This module has moved: please switch to @mapbox/geojson-extent","_hasShrinkwrap":false,"_cnpm_publish_time":1406912198932,"_cnpmcore_publish_time":"2021-12-16T15:44:32.003Z","contributors":[]},"0.2.0":{"name":"geojson-extent","version":"0.2.0","description":"compute the bounding box of geojson features","main":"index.js","scripts":{"test":"tap test/*.js","build":"browserify -s geojsonExtent index.js | uglifyjs -c > geojson-extent.js"},"bin":{"geojson-extent":"./bin/geojson-extent"},"repository":{"type":"git","url":"git@github.com:mapbox/geojson-extent.git"},"keywords":["geojson","extent","browser","geo","boundingbox","bounds"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/geojson-extent/issues"},"homepage":"https://github.com/mapbox/geojson-extent","dependencies":{"extent":"0.1.0","geojson-coords":"0.0.0","rw":"~0.1.4"},"devDependencies":{"tap":"~0.4.8","uglifyjs":"~2.3.6","browserify":"~3.46.0"},"_id":"geojson-extent@0.2.0","dist":{"shasum":"d06fa792c71af87950c43a376b7c1ac5bb685c90","size":3314,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/geojson-extent/-/geojson-extent-0.2.0.tgz","integrity":"sha512-HXvweuFtWcR07U2Pth7rcSmMP6UA8RLAL/gqsLAEkdbX+qA9NlR1HUicT+Vh2/DE6peLUA8l9x9iTXmcH/vakQ=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1406052045420,"deprecated":"This module has moved: please switch to @mapbox/geojson-extent","_hasShrinkwrap":false,"_cnpm_publish_time":1406052045420,"_cnpmcore_publish_time":"2021-12-16T15:44:32.191Z","contributors":[]},"0.1.0":{"name":"geojson-extent","version":"0.1.0","description":"compute the bounding box of geojson features","main":"index.js","scripts":{"test":"tap test/*.js","build":"browserify -s geojsonExtent index.js | uglifyjs -c > geojson-extent.js"},"repository":{"type":"git","url":"git@github.com:mapbox/geojson-extent.git"},"keywords":["geojson","extent","browser","geo","boundingbox","bounds"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/geojson-extent/issues"},"homepage":"https://github.com/mapbox/geojson-extent","dependencies":{"extent":"0.1.0","geojson-coords":"0.0.0"},"devDependencies":{"tap":"~0.4.8","uglifyjs":"~2.3.6","browserify":"~3.46.0"},"_id":"geojson-extent@0.1.0","dist":{"shasum":"f9c03d19d30b4fde1022bd30c72e73cab75322d6","size":2994,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/geojson-extent/-/geojson-extent-0.1.0.tgz","integrity":"sha512-SiNHBAw4P6mqLqj6xyOtT0pu6/WkGK2ccn1rLuWF4VaZe7N4B3gUWWsmW30MEnoHZfQQO/p8yagidDL4r76i0Q=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1405550564436,"deprecated":"This module has moved: please switch to @mapbox/geojson-extent","_hasShrinkwrap":false,"_cnpm_publish_time":1405550564436,"_cnpmcore_publish_time":"2021-12-16T15:44:32.391Z","contributors":[]},"0.0.1":{"name":"geojson-extent","version":"0.0.1","description":"compute the bounding box of geojson features","main":"index.js","scripts":{"test":"tap test/*.js","build":"browserify -s geojsonExtent index.js | uglifyjs -c > geojson-extent.js"},"repository":{"type":"git","url":"git@github.com:mapbox/geojson-extent.git"},"keywords":["geojson","extent","browser","geo","boundingbox","bounds"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/geojson-extent/issues"},"homepage":"https://github.com/mapbox/geojson-extent","dependencies":{"extent":"0.0.0","geojson-coords":"0.0.0"},"devDependencies":{"tap":"~0.4.8","uglifyjs":"~2.3.6","browserify":"~3.46.0"},"_id":"geojson-extent@0.0.1","dist":{"shasum":"5be79b93f05ef3dbc11be99056ce5c699bc281fc","size":2693,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/geojson-extent/-/geojson-extent-0.0.1.tgz","integrity":"sha512-RtlzADkiBKygW+opNGuoDno9UD3dxdwdrkltHFg/l609vp7ppwx1/pBYAU0uCOJYSU9cQmtaiDmp+QrKZlDx6A=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1399664627991,"deprecated":"This module has moved: please switch to @mapbox/geojson-extent","_hasShrinkwrap":false,"_cnpm_publish_time":1399664627991,"_cnpmcore_publish_time":"2021-12-16T15:44:32.597Z","contributors":[]},"0.0.0":{"name":"geojson-extent","version":"0.0.0","description":"compute the bounding box of geojson features","main":"index.js","scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git@github.com:mapbox/geojson-extent.git"},"keywords":["geojson","extent","browser","geo","boundingbox","bounds"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/mapbox/geojson-extent/issues"},"homepage":"https://github.com/mapbox/geojson-extent","dependencies":{"geojson-normalize":"0.0.0","flatten":"0.0.1","extent":"0.0.0","geojson-coords":"0.0.0"},"devDependencies":{"tap":"~0.4.8"},"_id":"geojson-extent@0.0.0","dist":{"shasum":"cbc0b864ca07f95e8bae2660a9cca98b065c0975","size":1479,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/geojson-extent/-/geojson-extent-0.0.0.tgz","integrity":"sha512-+9VnYKtgwsyoNlmMvb4AvQyzjD5Rm3DcBt7PdB23z3zuVhG0fvE6H4EEwuEjBP/EkqED1GVylLXCWL7eYM7TXQ=="},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"anonymous","email":"tom@macwright.org"},"maintainers":[{"name":"anonymous","email":"tom@macwright.org"}],"directories":{},"publish_time":1398092659165,"deprecated":"This module has moved: please switch to @mapbox/geojson-extent","_hasShrinkwrap":false,"_cnpm_publish_time":1398092659165,"_cnpmcore_publish_time":"2021-12-16T15:44:32.825Z","contributors":[]}},"dist-tags":{"latest":"0.3.2"},"name":"geojson-extent","time":{"created":"2022-01-26T18:16:39.729Z","modified":"2022-01-26T18:16:39.729Z","0.3.2":"2016-02-09T23:09:28.333Z","0.3.1":"2014-08-11T21:01:36.183Z","0.3.0":"2014-08-01T16:56:38.932Z","0.2.0":"2014-07-22T18:00:45.420Z","0.1.0":"2014-07-16T22:42:44.436Z","0.0.1":"2014-05-09T19:43:47.991Z","0.0.0":"2014-04-21T15:04:19.165Z"},"readme":"![](http://img.shields.io/travis/mapbox/geojson-extent.svg?style=flat)\n\n# geojson-extent\n\nCompute an extent given a GeoJSON object.\n\n## install\n\n    npm install --save geojson-extent\n\n## example\n\n[Live example with Mapbox Static Map API](https://www.mapbox.com/mapbox.js/example/v1.0.0/static-map-from-geojson-with-geo-viewport/)\n\n```js\nvar geojsonExtent = require('geojson-extent');\n\ngeojsonExtent({ type: 'Point', coordinates: [0, 0] }); // returns 0,0,0,0 extent\n```\n\n## bin\n\nProvides a binary that takes GeoJSON as stdin and returns a JSON stringified\narray of extent data.\n\n```sh\n$ npm install -g geojson-extent\n$ geojson-extent < file.geojson\n```\n\nGiven an argument of `leaflet`, this will return Leaflet-formatted data instead.\n\n```sh\n$ geojson-extent leaflet < file.geojson\n```\n\n## api\n\n### `extent(geojson)`\n\nGiven any valid GeoJSON object, return bounds in the form `[WSEN]`.\nInvalid objects will return `null`.\n\n### `extent.polygon(geojson)`\n\nGiven any valid GeoJSON object, return bounds in the form of a GeoJSON polygon object.\nInvalid objects will return `null`.\n\n### `extent.bboxify(geojson)`\n\nAdd [bounding boxes](http://geojson.org/geojson-spec.html#bounding-boxes) to all\nappropriate GeoJSON objects - Feature, FeatureCollection, and Geometry.","users":{}}