{"name":"@turf/boolean-equal","version":"6.0.0","keywords":["turf","gis","boolean","de-9im","equal","boolean-equal"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/boolean-equal@6.0.0","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":"cd65bc56a0f448d4c811e08382818562055869c7","tarball":"http://registry-npm.ywwl.com/@turf/boolean-equal/download/@turf/boolean-equal-6.0.0.tgz","fileCount":5,"integrity":"sha512-xc7ZDEuVO0Fry7ySCZCpP2yPik44Ve8uiQJxihL0wY1SXvP6KOQre6vD7BKrx8jP7tqy/w/gg424t6HW/OlBvQ==","signatures":[{"sig":"MEUCIBqQjpueWqE69IjhEo0FSAQIvi0SWaHmYIrYWYVrriCRAiEA2HIr438ZGP5Vofk/TSg8sauirT9TtByNmbhzfNBTYE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6560,"size":2657,"noattachment":false,"key":"/@turf/boolean-equal/-/@turf/boolean-equal-6.0.0.tgz"},"main":"index","files":["index.js","index.ts"],"scripts":{"docs":"node ../../scripts/generate-readmes","test":"node test.js","bench":"node bench.js","pretest":"tsc"},"_npmUser":{"name":"deniscarriere","email":"carriere.denis@gmail.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"5.6.0","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":"*","benchmark":"*","typescript":"*","load-json-file":"*","boolean-shapely":"*"},"_npmOperationalInternal":{"tmp":"tmp/boolean-equal_6.0.0_1519237402130_0.8523788416391236","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":1519237402190,"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":1519237402190,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}