{"_id":"turf-size","_rev":"26-1a49c1cdc3108cd614c27e635a906849","name":"turf-size","description":"turf size module","dist-tags":{"latest":"1.1.1"},"versions":{"0.1.1":{"name":"turf-size","version":"0.1.1","description":"turf size module","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-size.git"},"keywords":["turf","size","bbox","shape","geojson"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/morganherlocker/turf-size/issues"},"homepage":"https://github.com/morganherlocker/turf-size","devDependencies":{"tape":"^2.12.3"},"_id":"turf-size@0.1.1","dist":{"shasum":"da70a1e63a3f3281f2d8dac7caf0dafbee7c2f08","tarball":"https://registry.npmjs.org/turf-size/-/turf-size-0.1.1.tgz","integrity":"sha512-HF2ol1oKLRAOTn+5oPF2TRAJMoPthFiqL3fV4tcjRHsF5AXEHvM8+MB4LfEypUQP9LXrxAaJ+Xb9V07cDGynww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxuhbxCOOj2b2CrRL2pM5d7EnAG97fBkhVtSbUCcpxBAIhAJGfrV1eGZwZJ0WAmCvsCN0UZaU+n6+DHFoNwsXOKhVP"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}]},"0.1.2":{"name":"turf-size","version":"0.1.2","description":"turf size module","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-size.git"},"keywords":["turf","size","bbox","shape","geojson"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/morganherlocker/turf-size/issues"},"homepage":"https://github.com/morganherlocker/turf-size","devDependencies":{"tape":"^2.12.3"},"_id":"turf-size@0.1.2","dist":{"shasum":"19deac39f51cf3bad93706e52ff3d4cc43357737","tarball":"https://registry.npmjs.org/turf-size/-/turf-size-0.1.2.tgz","integrity":"sha512-TnpQqSOQ+XojnQIcqZKtnLMrnvDaLnom1hCvL4XgGheGYBZ6r/n2Y+5aR7PcqWYn0bF8o7IJl9ZUpAQxUeHu6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGWfuiRPH3R/Mf4B9+6Qu8936yF8T/iyYHbVdzkERX1gIhAJmrSJJmSed7CUryUjMy3zCCS4oVvZrCfUT4KDw46/88"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}]},"0.2.0":{"name":"turf-size","version":"0.2.0","description":"turf size module","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-size.git"},"keywords":["turf","size","bbox","shape","geojson"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/morganherlocker/turf-size/issues"},"homepage":"https://github.com/morganherlocker/turf-size","devDependencies":{"tape":"^2.12.3"},"_id":"turf-size@0.2.0","dist":{"shasum":"3ddb92c6789a098a1b108b74b3c53805b7418694","tarball":"https://registry.npmjs.org/turf-size/-/turf-size-0.2.0.tgz","integrity":"sha512-xct7dT5z+7sBIUyJGrGj5ncZHB6AN9B2TfV/duQkHiYoxrum+0YQ8Wa5FvpH7Ywy34XPSPBm3JfG+QDR4HWfcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpMQT7jzcgZ7I0CYJiAPHdxxHzyB1nEP3npAPyl31o+gIhAIsfhBYRwGw2EwAcJc9NRfFbhdwS7fyfHqYfU5bh5Rd3"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}]},"0.1.3":{"name":"turf-size","version":"0.1.3","description":"turf size module","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-size.git"},"keywords":["turf","size","bbox","shape","geojson"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/morganherlocker/turf-size/issues"},"homepage":"https://github.com/morganherlocker/turf-size","devDependencies":{"tape":"^2.13.4"},"gitHead":"5a7f58a03fef30f3decef3e1417ef32a03890284","_id":"turf-size@0.1.3","_shasum":"d47dfc248666ac058dffa99c195f89f3eefe90c7","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}],"dist":{"shasum":"d47dfc248666ac058dffa99c195f89f3eefe90c7","tarball":"https://registry.npmjs.org/turf-size/-/turf-size-0.1.3.tgz","integrity":"sha512-e+yoNT0a2/lBt8yIYdauszaGWPUP4s3nbEPRHtlInWSm0QtooB0wY9EgRkx67OWPqlsb5wC1VQh0xgf1WPFIQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFtnmNlv/739A5B3bnCsdQpYXAfl69OPzDNOpBHovo3CAiAKHE/Scb/pezkdLXAg4tz4soQzcHn0kO4xsorc68SGRQ=="}]}},"1.0.0":{"name":"turf-size","version":"1.0.0","description":"turf size module","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-size.git"},"keywords":["turf","size","bbox","shape","geojson"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/morganherlocker/turf-size/issues"},"homepage":"https://github.com/morganherlocker/turf-size","devDependencies":{"benchmark":"^1.0.0","tape":"^2.13.4"},"gitHead":"a5387381d538673f57cbb9459cb2f5645d4b8ae2","_id":"turf-size@1.0.0","_shasum":"dacc425c67ee4fcc84b59260182f32cdd117c983","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}],"dist":{"shasum":"dacc425c67ee4fcc84b59260182f32cdd117c983","tarball":"https://registry.npmjs.org/turf-size/-/turf-size-1.0.0.tgz","integrity":"sha512-geYcQL8h17GXDTBY5fhbi4CyBGmHWePEZ2KqnenLsj3rX6/JxKoVNM5Ys+GEi+bo8gWRKyxMfVGXWxoe3INihg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgKmXJrJfhYkKCyUe0Uvxf90SyPzUT2qzgkkStBgWgUAiBY7buLq6suloIkrx7WbDxTsfwSlPe2TTcVU711Kv0PxQ=="}]}},"1.1.0":{"name":"turf-size","version":"1.1.0","description":"turf size module","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/morganherlocker/turf-size.git"},"keywords":["turf","size","bbox","shape","geojson"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/morganherlocker/turf-size/issues"},"homepage":"https://github.com/morganherlocker/turf-size","devDependencies":{"benchmark":"^1.0.0","tape":"^3.0.3"},"gitHead":"5c29b3a0bf3b95544c94fee512cc079ac3354003","_id":"turf-size@1.1.0","_shasum":"a0ae49207d311e742f3dbe4f17b992a44f44d748","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"}],"dist":{"shasum":"a0ae49207d311e742f3dbe4f17b992a44f44d748","tarball":"https://registry.npmjs.org/turf-size/-/turf-size-1.1.0.tgz","integrity":"sha512-/peZFAElV44w4qcmCZdmZ6ZyEzM0vKj6a9c5vlnTzatY8JNXhXvmMTVT+Uv+h1KSBW5xzsJ7EFAXZnIHGCoc8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCO9o9TVBZS7q8KUrvPAtz0R6ubtZFyOb/zbdQqN9CUQwIhAOMWtC0Hpxpc8NayC0e4V5rEzTAgNJNKAkJy3B5K3CR2"}]}},"1.1.1":{"name":"turf-size","version":"1.1.1","description":"turf size module","main":"index.js","scripts":{"test":"node test.js","doc":"dox -r < index.js | doxme --readme > README.md"},"repository":{"type":"git","url":"https://github.com/Turfjs/turf-size.git"},"keywords":["turf","size","bbox","shape","geojson"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/Turfjs/turf-size/issues"},"homepage":"https://github.com/Turfjs/turf-size","devDependencies":{"benchmark":"^1.0.0","tape":"^3.5.0","dox":"^0.6.1","doxme":"^1.4.3"},"gitHead":"b59ce84ecc8f8fc81ecde501927743d3de80302d","_id":"turf-size@1.1.1","_shasum":"56b2047279bf69d872729bfbc1a8c588bf37e9f0","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},"maintainers":[{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"jvrousseau","email":"jv.rousseau@outlook.com"},{"name":"jseppi","email":"james.seppi@gmail.com"},{"name":"cspanring","email":"cspanring@gmail.com"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"lyzidiamond","email":"lyzi@mapbox.com"},{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"56b2047279bf69d872729bfbc1a8c588bf37e9f0","tarball":"https://registry.npmjs.org/turf-size/-/turf-size-1.1.1.tgz","integrity":"sha512-Pn33/9GVkDhoM1n1iOLqIBGwnNLy7zQARWOgD/ch5RlyLXLoEH3iMdYPIwplNxyZz8falijBgzG1ttHXBoJYQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBs7GZDVQNViB1+q/AUcheloiyTtcgol2a9aDjQx+HegAiB1pQ3uvxiCIs3CsC+OfHRDElIoGmXsjS2rZ+OKVNYvDQ=="}]}}},"readme":"# turf-size\n\n[![build status](https://secure.travis-ci.org/Turfjs/turf-size.png)](http://travis-ci.org/Turfjs/turf-size)\n\nturf size module\n\n\n### `turf.size(bbox, factor)`\n\nTakes a bbox and returns a new bbox with a size expanded or contracted\nby a factor of X.\n\n\n### Parameters\n\n| parameter | type           | description                                 |\n| --------- | -------------- | ------------------------------------------- |\n| `bbox`    | Array.<number> | a bounding box                              |\n| `factor`  | number         | the ratio of the new bbox to the input bbox |\n\n\n### Example\n\n```js\nvar bbox = [0, 0, 10, 10]\nvar resized = turf.size(bbox, 2);\nvar features = turf.featurecollection([\n  turf.bboxPolygon(bbox),\n  turf.bboxPolygon(resized)]);\n\n//=features\n```\n\n## Installation\n\nRequires [nodejs](http://nodejs.org/).\n\n```sh\n$ npm install turf-size\n```\n\n## Tests\n\n```sh\n$ npm test\n```\n\n","maintainers":[{"email":"tim.channell@gmail.com","name":"tcql"},{"email":"morgan.herlocker@gmail.com","name":"morganherlocker"},{"email":"agafonkin@gmail.com","name":"mourner"},{"email":"jv.rousseau@outlook.com","name":"jvrousseau"},{"email":"james.seppi@gmail.com","name":"jseppi"},{"email":"cspanring@gmail.com","name":"cspanring"},{"email":"calvin.metcalf@gmail.com","name":"cwmma"},{"email":"lyzi@mapbox.com","name":"lyzidiamond"},{"email":"tom@macwright.org","name":"tmcw"}],"time":{"modified":"2022-06-27T23:31:40.401Z","created":"2014-04-13T16:50:39.410Z","0.1.1":"2014-04-13T16:50:39.410Z","0.1.2":"2014-06-02T23:03:57.422Z","0.2.0":"2014-06-03T15:33:33.108Z","0.1.3":"2014-07-21T21:31:20.913Z","1.0.0":"2014-12-10T19:39:20.437Z","1.1.0":"2014-12-10T23:06:48.764Z","1.1.1":"2015-02-06T21:42:51.818Z"},"homepage":"https://github.com/Turfjs/turf-size","keywords":["turf","size","bbox","shape","geojson"],"repository":{"type":"git","url":"https://github.com/Turfjs/turf-size.git"},"author":{"name":"morganherlocker"},"bugs":{"url":"https://github.com/Turfjs/turf-size/issues"},"license":"MIT","readmeFilename":"README.md"}