{"name":"@turf/line-split","version":"6.2.0-alpha.2","keywords":["turf","geojson","gis","line","split"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/line-split@6.2.0-alpha.2","contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"dadb68ba2991c8070ec0ae8490413567a1b6c2bf","tarball":"http://registry-npm.ywwl.com/@turf/line-split/download/@turf/line-split-6.2.0-alpha.2.tgz","fileCount":7,"integrity":"sha512-ZGZCH+cdqDd/zxLMCN+gcVBPazT5Ub7lW4bqhYYeOQxAHnEh5i1NilN1br2t+4MEbkAMP++ob9x29AutHy7yig==","signatures":[{"sig":"MEQCIEwASztjkMfuLfF61PUm0ZqGjHxbfcov0tG171JzK267AiBDWUtT4EmdSE0/xySWlRe7BQRDmlEOemI/wI5Waei+lQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27077,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDHRdCRA9TVsSAnZWagAAangP/jr4UiENQWcZuVk6wE0J\nFaInW2YBi4PshJ2FPgkO/kKyyx914eJ7y5iKFCImjJclUDhqDuXtSe/H5gfx\nI38CGb4GBa/H/lXepQ8ptdkYdohPrwZcUvpHBVpo160jeEdq5ccx5ziXxjZ+\nptBDy0S3Fq20mOJ4TD49Gss7H4ErdYuUe8yJGh+xlWkIG9DgCKF3QG7HpGPV\nGpvAZJt0f3j5PHpaRCQWaeL2hSOVQROoIgkMxAqDvWY9wJs83Wr5ny4dewLb\nTaJ6m3D/RuIuyIeKzZtTsUz0Gv26ahwu3fjQ1XhfD18iooXTJyx8p5J3dP/y\nEAj8OvXcl8XZEaRB6CDtlvyjJYq5zppc+FAgm/XzkqsI4zIfbuZzoym8L6LB\nUcrw2CL/7pH3gmwnMty98o7xf7qKUHsvB2PIkOvkhuvIeWMCyq61YAZbbzoU\nCIUVrn9UHvw4WJfHyJx+rJMvGibkyJGxMsC+U1HMVcpK7V4L/AwOorUn3oTe\nRTJlAThNhqrFz5bd4/JRwSY4kWNx+yLzc9a/XbXmnMkOq2Im55O8Uk5o1+Gu\nFO+JHavus2nKhp9dAoJWae7DhMd0wF8JvMQ3SQ3z8BqWlfbq0arbCMaUX40x\nyACg+SzweJF4/pTpunjlJHJCePlg1/ovSPLTiveQG3iZORvrO63F/sGKbE9P\nT3tC\r\n=QUht\r\n-----END PGP SIGNATURE-----\r\n","size":4785,"noattachment":false,"key":"/@turf/line-split/-/@turf/line-split-6.2.0-alpha.2.tgz"},"main":"dist/js/index.js","types":"index.d.ts","module":"dist/es/index.js","gitHead":"23d5cb91d77e0c1e2e903a2252f525797f1d0d09","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.2","@turf/meta":"^6.2.0-alpha.2","@turf/square":"^6.2.0-alpha.2","@turf/helpers":"^6.2.0-alpha.2","geojson-rbush":"3.x","@turf/truncate":"^6.2.0-alpha.2","@turf/invariant":"^6.2.0-alpha.2","@turf/line-segment":"^6.2.0-alpha.2","@turf/line-intersect":"^6.2.0-alpha.2","@turf/nearest-point-on-line":"^6.2.0-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"*","rollup":"*","benchmark":"*","npm-run-all":"*","load-json-file":"*","write-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/line-split_6.2.0-alpha.2_1594651737229_0.7588742743642201","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":1594651737362,"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":1594651737362,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}