{"name":"turf-within","version":"3.0.1","description":"turf within module","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git+https://github.com/Turfjs/turf-within.git"},"keywords":["geojson","within","point","polygon","featurecollection"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/Turfjs/turf-within/issues"},"homepage":"https://github.com/Turfjs/turf-within","devDependencies":{"benchmark":"^1.0.0","tape":"^3.5.0","turf-helpers":"^3.0.1"},"dependencies":{"turf-inside":"^3.0.1","turf-helpers":"^3.0.1"},"_id":"turf-within@3.0.1","_shasum":"e702aac00a06bbdce197e3a504b7a5cec9e3ca51","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"e702aac00a06bbdce197e3a504b7a5cec9e3ca51","tarball":"http://registry-npm.ywwl.com/turf-within/download/turf-within-3.0.1.tgz","integrity":"sha512-K1YyzhfAT4xKfyucwxr9ZJ72YoOheI4V5Zr+fDoz3ro0c6ShIZHxWlWogGLO92KwDsEOBhgCrVPOudsEvfCM0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEi+4fUI8J2XUObaZI43Fn2WpsCRB7zrQsItw5iIR8eNAiEAnqCviSbO5ByA0ky6xnHs6oilXPSp8CjIHPH/38FUuCo="}],"size":4758,"noattachment":false,"key":"/turf-within/-/turf-within-3.0.1.tgz"},"maintainers":[{"name":"cspanring","email":"cspanring@gmail.com"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"jseppi","email":"james.seppi@gmail.com"},{"name":"jvrousseau","email":"jv.rousseau@outlook.com"},{"name":"lyzidiamond","email":"lyzi@mapbox.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"tmcw","email":"tom@macwright.org"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/turf-within-3.0.1.tgz_1463431535118_0.9630845708306879"},"deprecated":"Turf packages are now namespaced: please use @turf/within instead","directories":{},"readme":"# turf-within\n\n[![build status](https://secure.travis-ci.org/Turfjs/turf-within.png)](http://travis-ci.org/Turfjs/turf-within)\n\nturf within module\n\n\n### `turf.within(points, polygons)`\n\nReturns a FeatureCollection of points representing all points that fall\nwithin a collection of polygons.\n\n\n### Parameters\n\n| parameter  | type              | description |\n| ---------- | ----------------- | ----------- |\n| `points`   | FeatureCollection |             |\n| `polygons` | FeatureCollection |             |\n\n\n### Example\n\n```js\nvar searchWithin = turf.featurecollection([\n  turf.polygon([\n    [[-46.653,-23.543],\n     [-46.634,-23.5346],\n     [-46.613,-23.543],\n     [-46.614,-23.559],\n     [-46.631,-23.567],\n     [-46.653,-23.560],\n     [-46.653,-23.543]]\n  ])\n]);\nvar points = turf.featurecollection([\n  turf.point([-46.6318, -23.5523]),\n  turf.point([-46.6246, -23.5325]),\n  turf.point([-46.6062, -23.5513]),\n  turf.point([-46.663, -23.554]),\n  turf.point([-46.643, -23.557])]);\nvar ptsWithin = turf.within(points, searchWithin);\n//=points\n//=searchWithin\n//=ptsWithin\n```\n\n## Installation\n\nRequires [nodejs](http://nodejs.org/).\n\n```sh\n$ npm install turf-within\n```\n\n## Tests\n\n```sh\n$ npm test\n```\n\n","publish_time":1463431537346,"_cnpm_publish_time":1463431537346,"dist-tags":{"canary":"3.0.7-canary.ae89c8b3","latest":"3.0.12"}}