{"_id":"geojson-extent","_rev":"21-d97a193ddfa88a5aa0f69e079058f54e","name":"geojson-extent","description":"compute the bounding box of geojson features","dist-tags":{"latest":"0.3.2"},"versions":{"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","tarball":"https://registry.npmjs.org/geojson-extent/-/geojson-extent-0.0.0.tgz","integrity":"sha512-+9VnYKtgwsyoNlmMvb4AvQyzjD5Rm3DcBt7PdB23z3zuVhG0fvE6H4EEwuEjBP/EkqED1GVylLXCWL7eYM7TXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHmhHxlBSKhfH+7hMqeUaNhl0hnxtTqW3Bw85WIUI1DIAiBEHgsdddYYXJMJiUQbDaHEgFHrXm5qTr++X2OVgMYHzw=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"deprecated":"This module has moved: please switch to @mapbox/geojson-extent"},"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","tarball":"https://registry.npmjs.org/geojson-extent/-/geojson-extent-0.0.1.tgz","integrity":"sha512-RtlzADkiBKygW+opNGuoDno9UD3dxdwdrkltHFg/l609vp7ppwx1/pBYAU0uCOJYSU9cQmtaiDmp+QrKZlDx6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVhboaknEF+KQWh0H7sQdby2c+Q07ygNIYBONzYtZxrgIgEDiF9U2q8pW12QbEhGO8xh01/WclsjRG57McJOpW2yQ="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"deprecated":"This module has moved: please switch to @mapbox/geojson-extent"},"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","tarball":"https://registry.npmjs.org/geojson-extent/-/geojson-extent-0.1.0.tgz","integrity":"sha512-SiNHBAw4P6mqLqj6xyOtT0pu6/WkGK2ccn1rLuWF4VaZe7N4B3gUWWsmW30MEnoHZfQQO/p8yagidDL4r76i0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHV31h9VWiQoSWUjWU2mWjO4UVBnVQVRss1JVCigarBwIgfPAZHz0M+OV57WMuYX547+Acwyq2jmtQLl3Q4Lz88JU="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"deprecated":"This module has moved: please switch to @mapbox/geojson-extent"},"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","tarball":"https://registry.npmjs.org/geojson-extent/-/geojson-extent-0.2.0.tgz","integrity":"sha512-HXvweuFtWcR07U2Pth7rcSmMP6UA8RLAL/gqsLAEkdbX+qA9NlR1HUicT+Vh2/DE6peLUA8l9x9iTXmcH/vakQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYE45BRlJUojwvdXpzC3arBp6FqoICOQxaE2XMy7WSVgIgV9dD/jd5llGg3ZAmmvywKWGiVhULw2XMYWJ66aNXPFQ="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"deprecated":"This module has moved: please switch to @mapbox/geojson-extent"},"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","tarball":"https://registry.npmjs.org/geojson-extent/-/geojson-extent-0.3.0.tgz","integrity":"sha512-p05vHardgowhctMOPWW3ag8e5WNE+LCxSLYsMRZMsjqEq1n5C87+dM4/p67oSK+jkqdufm7fFrsOnJGsxloe7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT1oS62rm/hP+RZLoWeIgu3auMR/na/DrdT7KDHfILhgIhAOyDFuumppsWqA1uET51jWEVbNef9iysTGUC4sDH8Qb2"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"deprecated":"This module has moved: please switch to @mapbox/geojson-extent"},"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","tarball":"https://registry.npmjs.org/geojson-extent/-/geojson-extent-0.3.1.tgz","integrity":"sha512-EdhekFGCToCgUlB2toh99H76jJRHTUw8VCDTPGq66VGyUriXe5QQM71oRRgsTvmUWrnixZjBCORbkmXQarrM2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDD3EIK8YsTuRpYJs7uEMTZI+RNIt8EubyljpFk24h1iwIhAOzVCgF719svGOzvEA8B5JHXD1PTNCXtnEugxT6ynctG"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"deprecated":"This module has moved: please switch to @mapbox/geojson-extent"},"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":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"2ee5f3fabf0c7659c0509e05782910dfe1df27e8","tarball":"https://registry.npmjs.org/geojson-extent/-/geojson-extent-0.3.2.tgz","integrity":"sha512-n7dhmd1Q+ysiOUNRyl/N/0bLpIfExMFDUkLj8zXB3wabinAVm/EkKXE+FVgWvq9tANeaQW0WeJqdRS9XpdNmlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEAa+w3E0nVtrabP3g+v7vejPBlbJfF6bNk/aASIF3tZAiA1ikuAv+Fr63q5a4PfdCy1LrL7mgf/xND+QfbEGeT/xQ=="}]},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/geojson-extent-0.3.2.tgz_1455059366637_0.565317046130076"},"deprecated":"This module has moved: please switch to @mapbox/geojson-extent"}},"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.\n","maintainers":[{"email":"tom@macwright.org","name":"tmcw"}],"time":{"modified":"2022-06-18T07:37:02.467Z","created":"2014-04-21T15:04:19.165Z","0.0.0":"2014-04-21T15:04:19.165Z","0.0.1":"2014-05-09T19:43:47.991Z","0.1.0":"2014-07-16T22:42:44.436Z","0.2.0":"2014-07-22T18:00:45.420Z","0.3.0":"2014-08-01T16:56:38.932Z","0.3.1":"2014-08-11T21:01:36.183Z","0.3.2":"2016-02-09T23:09:28.333Z"},"homepage":"https://github.com/mapbox/geojson-extent","keywords":["geojson","extent","browser","geo","boundingbox","bounds"],"repository":{"type":"git","url":"git+ssh://git@github.com/mapbox/geojson-extent.git"},"author":{"name":"Tom MacWright"},"bugs":{"url":"https://github.com/mapbox/geojson-extent/issues"},"license":"ISC","readmeFilename":"README.md","users":{"talha-asad":true}}