{"name":"@turf/line-split","version":"6.2.0-alpha.1","keywords":["turf","geojson","gis","line","split"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/line-split@6.2.0-alpha.1","contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"2e0e28682ca98fdc4208cd56a9c6cb12161ea1a1","tarball":"http://registry-npm.ywwl.com/@turf/line-split/download/@turf/line-split-6.2.0-alpha.1.tgz","fileCount":7,"integrity":"sha512-NloY3mTEeUqQ9IwyuV7mvldR12GykWQh7Q15eeKo2ewnSvW9M95jvMGe+cnjloJucQ0tDH7PcFkT8Kv1W0NcPA==","signatures":[{"sig":"MEUCIQCACtamT0ojvEiFr2Mn+y4wUR9xgcZ6XUxq/66VqSUNzAIgMTYsV821sKYEuUNXaGJFmCcbsV0Oqcw5yLcycXeuxZ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefUQKCRA9TVsSAnZWagAAFcsP/RdK4WrWvCTsMVwLoefd\ndhlh+ksS1wIG3B60JYCyc7W0U213qLQ3hBdEBS8aYaHVHLcQPYNXvl4dDqJc\njum49dV+4CUss1nSqSlqneBQh/5zOWtDp8Cme8brgu5mCDHbKqvj2Gvb6lR9\n2GcT4JAx02wp3as8OzFhndIq6ufdDD7IqgccXUPW5zPwLW5j9cbtIfuXDde0\nYZBGKMDyLnSKOl8Azm8iuyx+LEc9PQx47JhlcR3wGS17hhPv5bYRJFoHAkbk\nijZsvaIZVSvHvAXiJh8hAO6fMxkmJ1hXfAy1LBbMX8Mz61932zSWZqkkvGDz\nyzqUcQ3unauKCXzn0kDpumssylPBQbrW096oUnYZa4KyN/Z0lgXIEFbEANcG\nk32h4vOH2LbwggMF5lZ91uPb4wRLXaIGoJXVhBSzkzW8IsQBFVcjYH2lCZtq\nYE6HsJyU1L8j3zJQTmfFedWM8x4IlFYxbCU+oSPFfNHAxkVzKploM1+TlcQS\nB98hgND0n4mzYdm5FCcVyF/Y0a/wRwXNkFJmNvyHqz9tD0yPJ7gIjC9YEG+X\ncBRIXmUJWgf7+LmA5Yo5JuZbvFepZZxS3IRnuUtWiZLiCQ9Ul2yzBW0zNSLl\nWYX1eujK/s7ngtVZbgKIEq7eZbDKan7gf4Yw5Ohi9KEMugOimU95k717u/Kx\n/Itf\r\n=gKvf\r\n-----END PGP SIGNATURE-----\r\n","size":4780,"noattachment":false,"key":"/@turf/line-split/-/@turf/line-split-6.2.0-alpha.1.tgz"},"main":"dist/js/index.js","types":"index.d.ts","module":"dist/es/index.js","gitHead":"fc519c045a8931c1e14eab9160a7e28391f8da02","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all prepare test:*","bench":"npm-run-all prepare bench:run","prepare":"rollup -c ../../rollup.config.js","posttest":"node -r esm ../../scripts/validate-es5-dependencies.js","bench:run":"node bench.js","test:tape":"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 line-split module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/bbox":"^6.2.0-alpha.1","@turf/meta":"^6.2.0-alpha.1","@turf/square":"^6.2.0-alpha.1","@turf/helpers":"^6.2.0-alpha.1","geojson-rbush":"3.x","@turf/truncate":"^6.2.0-alpha.1","@turf/invariant":"^6.2.0-alpha.1","@turf/line-segment":"^6.2.0-alpha.1","@turf/line-intersect":"^6.2.0-alpha.1","@turf/nearest-point-on-line":"^6.2.0-alpha.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","rollup":"*","benchmark":"*","load-json-file":"*","write-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/line-split_6.2.0-alpha.1_1585267721627_0.4385621159262758","host":"s3://npm-registry-packages"},"readme":"# @turf/line-split\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## lineSplit\n\nSplit a LineString by another GeoJSON Feature.\n\n### Parameters\n\n*   `line` **[Feature][1]<[LineString][2]>** LineString Feature to split\n*   `splitter` **[Feature][1]\\<any>** Feature used to split line\n\n### Examples\n\n```javascript\nvar line = turf.lineString([[120, -25], [145, -25]]);\nvar splitter = turf.lineString([[130, -15], [130, -35]]);\n\nvar split = turf.lineSplit(line, splitter);\n\n//addToMap\nvar addToMap = [line, splitter, split]\n\nsplit.features[0].properties.stroke = \"red\";\nsplit.features[1].properties.stroke = \"blue\";\n```\n\nReturns **[FeatureCollection][3]<[LineString][2]>** Split LineStrings\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.1.4\n\n[3]: 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/line-split\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":1585267721776,"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":1585267721776,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}