{"name":"@turf/kinks","version":"6.5.0","keywords":["turf","kinks","self-intersection"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/kinks@6.5.0","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"80e7456367535365012f658cf1a988b39a2c920b","tarball":"http://registry-npm.ywwl.com/@turf/kinks/download/@turf/kinks-6.5.0.tgz","fileCount":10,"integrity":"sha512-ViCngdPt1eEL7hYUHR2eHR662GvCgTc35ZJFaNR6kRtr6D8plLaDju0FILeFFWSc+o8e3fwxZEJKmFj9IzPiIQ==","signatures":[{"sig":"MEYCIQDvQYygxGxtyDH1M+zVv5MumbUSnBqf7PQWmA7hVA5zPAIhAIAaloAQz9iFPFuxNB8yVrZI4Q8DlA1fkw7jNcQb5C3K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6XOyCRA9TVsSAnZWagAAo48P/0nczrW9Y1uCR03oRRdM\nhGHBwW9UmV/6wrZo9iFNc07X4JGqSdJOLWwgNxco+YUQWlJ0cmxikZtVIU64\n3pOl/NYH0khlLIQNgkKCcOc6qcV8dHEJumoejg2qY/f0xndLVs2y8rORqyBx\n6K1XRvXo8VX31yXMIfkCTL1G7jfCpoOR1k+GZQbK8Wkc+HShac87RpCoj5ou\nDTVO5raFD1FBE01x+4q3lkdAc8y6oCABm4RDcPOTqQVKs3PhqjgAFyeEZiNt\nDO6CAAOpr01Biuuh7mJEbHnsD7RzHPnXQ9IyufT+j7fWqt72WWy/WzegcQep\nkqBdUqVxaSE7zt+MK+89qzI0H5ruzb9zavCeb98N42nLeDLA7Q3GgF0f4Uli\ndbMRS+/ukitOoNyFWlaMYzPvMYZotPWhSGZ9O6y98EERa39hKlelM+K1btQY\ncf0gAflgasSNimZHzRpwqpfMR26J5zZnHcrfD5CLXNnOFh8owbjcEoKUvM4V\nM4skQzI6/TIKPFJjnH+Ki20b4iVg10RENsdCWjrxV8yciITDz9izeM8cawX4\njj10j3YwrCwBTFGccIid2v71Hje1CY22qQzRMQNIl7CmeHlYZCAUEbrxAqfq\nCONGDxsI9bMVc1adHaAkd4kRAqexAomDPjj6UWbRqDVvPZQVy1B2jtbKUCs8\nDcfL\r\n=fMvX\r\n-----END PGP SIGNATURE-----\r\n","size":6793,"noattachment":false,"key":"/@turf/kinks/-/@turf/kinks-6.5.0.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"},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"5375941072b90d489389db22b43bfe809d5e451e","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","test:types":"tsc --esModuleInterop --noEmit types.ts"},"_npmUser":{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.8.0+x64 (darwin)","description":"turf kinks module","directories":{},"sideEffects":false,"_nodeVersion":"14.8.0","dependencies":{"@turf/helpers":"^6.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","ts-node":"*","benchmark":"*","@turf/meta":"^6.5.0","typescript":"*","npm-run-all":"*","load-json-file":"*","write-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/kinks_6.5.0_1625912242192_0.020377884276177483","host":"s3://npm-registry-packages"},"readme":"# @turf/kinks\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## kinks\n\nTakes a [linestring][1], [multi-linestring][2],\n[multi-polygon][3] or [polygon][4] and\nreturns [points][5] at all self-intersections.\n\n### Parameters\n\n*   `featureIn` **[Feature][6]<([LineString][1] | [MultiLineString][2] | [MultiPolygon][3] | [Polygon][4])>** input feature\n\n### Examples\n\n```javascript\nvar poly = turf.polygon([[\n  [-12.034835, 8.901183],\n  [-12.060413, 8.899826],\n  [-12.03638, 8.873199],\n  [-12.059383, 8.871418],\n  [-12.034835, 8.901183]\n]]);\n\nvar kinks = turf.kinks(poly);\n\n//addToMap\nvar addToMap = [poly, kinks]\n```\n\nReturns **[FeatureCollection][7]<[Point][5]>** self-intersections\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1.4\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.1.5\n\n[3]: https://tools.ietf.org/html/rfc7946#section-3.1.7\n\n[4]: https://tools.ietf.org/html/rfc7946#section-3.1.6\n\n[5]: https://tools.ietf.org/html/rfc7946#section-3.1.2\n\n[6]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[7]: https://tools.ietf.org/html/rfc7946#section-3.3\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/kinks\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":1625912242360,"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":1625912242360,"dist-tags":{"canary":"3.5.2-alpha.d2c36ee7","latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}