{"name":"@turf/boolean-equal","version":"6.0.1","keywords":["turf","gis","boolean","de-9im","equal","boolean-equal"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/boolean-equal@6.0.1","contributors":[{"name":"Tom MacWright","email":"@tmcw"},{"name":"Tim Channell","email":"@tcql"},{"name":"Stefano Borghi","email":"@stebogit"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"66b399e67d09cae3e8363d17b921a98b786cf69f","tarball":"http://registry-npm.ywwl.com/@turf/boolean-equal/download/@turf/boolean-equal-6.0.1.tgz","fileCount":4,"integrity":"sha512-E39v/PgWc/e1zNqwhtH5+RxA+hDYFlZUtAqE44nUKCEYeU50AIDvNznZ0wUFN+5anRfJOAKr+UZApza+QIdC8Q==","signatures":[{"sig":"MEUCIQDdpBHV/NWZosUrgMk8raZB9NqaTzayyozGNdD1LHHguQIgZY6H8PJ3Frkzdx97QdLgRUyePPnOOb8uHQDFvXF48ck=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5344,"size":2491,"noattachment":false,"key":"/@turf/boolean-equal/-/@turf/boolean-equal-6.0.1.tgz"},"main":"index","files":["index.js","index.d.ts"],"types":"index.d.ts","scripts":{"docs":"node ../../scripts/generate-readmes","test":"node test.js","bench":"node bench.js","prepare":"tsc","pretest":"tsc"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"5.7.1","description":"turf boolean-equal module","directories":{},"_nodeVersion":"9.3.0","dependencies":{"@turf/helpers":"6.x","@turf/invariant":"6.x","geojson-equality":"0.1.6","@turf/clean-coords":"6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"glob":"*","tape":"*","tslint":"*","benchmark":"*","typescript":"*","@types/tape":"*","load-json-file":"*","boolean-shapely":"*"},"_npmOperationalInternal":{"tmp":"tmp/boolean-equal_6.0.1_1522847091252_0.2917911157359858","host":"s3://npm-registry-packages"},"readme":"# @turf/boolean-equal\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## booleanEqual\n\nDetermine whether two geometries of the same type have identical X,Y coordinate values.\nSee [http://edndoc.esri.com/arcsde/9.0/general\\_topics/understand\\_spatial\\_relations.htm][1]\n\n### Parameters\n\n*   `feature1` **([Geometry][2] | [Feature][3])** GeoJSON input\n*   `feature2` **([Geometry][2] | [Feature][3])** GeoJSON input\n*   `options` **[Object][4]** Optional parameters (optional, default `{}`)\n\n    *   `options.precision` **[number][5]** decimal precision to use when comparing coordinates (optional, default `6`)\n\n### Examples\n\n```javascript\nvar pt1 = turf.point([0, 0]);\nvar pt2 = turf.point([0, 0]);\nvar pt3 = turf.point([1, 1]);\n\nturf.booleanEqual(pt1, pt2);\n//= true\nturf.booleanEqual(pt2, pt3);\n//= false\n```\n\nReturns **[boolean][6]** true if the objects are equal, false otherwise\n\n[1]: http://edndoc.esri.com/arcsde/9.0/general_topics/understand_spatial_relations.htm\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.1\n\n[3]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number\n\n[6]: 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-equal\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\n\n### Diagrams\n\n![esri-equals](diagrams/esri-equals.gif)","publish_time":1522847091344,"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":1522847091344,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}