{"name":"@turf/boolean-intersects","version":"6.2.0-alpha.3","keywords":["turf","intersects","boolean","de-9im"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/boolean-intersects@6.2.0-alpha.3","contributors":[{"name":"Rowan Winsemius","email":"@rowanwins"},{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"41aeee91510c00569c61dd6ff0b637b56cfb9d04","tarball":"http://registry-npm.ywwl.com/@turf/boolean-intersects/download/@turf/boolean-intersects-6.2.0-alpha.3.tgz","fileCount":7,"integrity":"sha512-yJJC+D5kmrr+7cZgot0LBohpApJAyI4+TIwNT/RZXh2whX0g+i4FY2+lXTIXbJYAvaPpAC84AvZHEJonOiGOAw==","signatures":[{"sig":"MEUCIQDxl0b8HJF8KPdX/5BKqWVVQ+Y745XVWTAbWMk98Kg/nQIgVEAgEWri52gjwJNh/EqPd/U0Z1wU/cxBTKiSNFPZrUw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0o8HCRA9TVsSAnZWagAAWIoP/1GJUu1TocwmVL1134nF\nR4+lZx58+hT5PyJOwZCXwGv78DjkvQt+NcQwfXnSBfNgVw3XcU5HgF4a3kyL\nFFTLq+t/72oPH5AALuF4prvoxlUpmVw7MecWY29LJ81BM4Eeol36YHHytwzH\nHW+99gEI2Em8jevhnsKS45gF5by68tTerOxSX8Ff3GlzoC71I5q79wQjOhGj\nvCUMYE7w/qLrJ9sw0SKp7HR0Qw91g2KSHnxyBwrBDVjFRzEm3kK/ZK2C62Vv\n2r3URa0FTpc1lmNmJ4+9ebW4m949AMqadKXtVeoz0euW3+IvtJRYnTZE4nN1\n4xI2LVFr994IEnbzO7Aoj19chkYsDS+WtBJ1eNg7bzoPN1nTjoSHcJhAQxwR\n6m5T+slzdU9llf1DmfHTJb5qql0HfsRBCtd5Hs6VKFv+/0WRelizD8sh3iGm\nbZvzE+m8zW72Y54af4Ud7ucq/iVhQTwHLW/yyKqNOXaONHy9pDEYpg2FElGv\ndrUXzh9ENUQYMHFSI4zAccg3GGNwggMQkkQyxbVFYyPfNb1y4hDu3BDiVLiX\ntJPOFmrEqmWIrXgXHCv2d/NBFB7yQFzEakggahPMMvFHANAD2JEcvIutUTq6\nS1bAnEr59DUVYG4e3bf5ss2+/FAZ0dFUqqSjzdnEDXyxYXs0XLdRSS9eO7Cy\nXpyQ\r\n=8u2G\r\n-----END PGP SIGNATURE-----\r\n","size":2759,"noattachment":false,"key":"/@turf/boolean-intersects/-/@turf/boolean-intersects-6.2.0-alpha.3.tgz"},"main":"dist/js/index.js","types":"dist/js/index.d.ts","module":"dist/es/index.js","exports":{"import":"./dist/es/index.js","require":"./dist/js/index.js"},"gitHead":"dce9edfc705352e8cb9e0083c9330ba0e8d77409","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all test:*","bench":"ts-node bench.js","build":"npm-run-all build:*","build:es":"tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json","build:js":"tsc","test:tape":"ts-node -r esm test.js"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v13.10.1+x64 (darwin)","description":"turf boolean-intersects module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/meta":"^6.2.0-alpha.3","@turf/helpers":"^6.2.0-alpha.3","@turf/boolean-disjoint":"^6.2.0-alpha.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"*","tslint":"*","ts-node":"*","benchmark":"*","typescript":"*","@types/tape":"*","npm-run-all":"*","load-json-file":"*","boolean-shapely":"*"},"_npmOperationalInternal":{"tmp":"tmp/boolean-intersects_6.2.0-alpha.3_1607634694823_0.3322705317270127","host":"s3://npm-registry-packages"},"readme":"# @turf/boolean-intersects\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## booleanIntersects\n\nBoolean-intersects returns (TRUE) if the intersection of the two geometries is NOT an empty set.\n\n### Parameters\n\n*   `feature1` **([Geometry][1] | [Feature][2]\\<any>)** GeoJSON Feature or Geometry\n*   `feature2` **([Geometry][1] | [Feature][2]\\<any>)** GeoJSON Feature or Geometry\n*   `options` **[Object][3]** Optional parameters (optional, default `{}`)\n\n    *   `options.ignoreSelfIntersections` **[boolean][4]** ignore self-intersections on input features (optional, default `true`)\n\n### Examples\n\n```javascript\nvar point1 = turf.point([2, 2]);\nvar point2 = turf.point([1, 2]);\nvar line = turf.lineString([[1, 1], [1, 3], [1, 4]]);\n\nturf.booleanIntersects(line, point1);\n//=false\n\nturf.booleanIntersects(line, point2);\n//=true\n\n//addToMap\nvar addToMap = [point1, point2, line];\npoint1.properties['marker-color'] = '#f00'\npoint2.properties['marker-color'] = '#0f0'\n```\n\nReturns **[boolean][4]** true if geometries intersect, false otherwise\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n\n<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run \"yarn docs\" from the root of the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues.\n\n### Installation\n\nInstall this single module individually:\n\n```sh\n$ npm install @turf/boolean-intersects\n```\n\nOr install the all-encompassing @turf/turf module that includes all modules as functions:\n\n```sh\n$ npm install @turf/turf\n```\n","publish_time":1607634694939,"maintainers":[{"name":"smallsaucepan","email":"james@smallsaucepan.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"}],"_cnpm_publish_time":1607634694939,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}