{"name":"@turf/line-split","version":"6.2.0-alpha.3","keywords":["turf","geojson","gis","line","split"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/line-split@6.2.0-alpha.3","contributors":[{"name":"Denis Carriere","email":"@DenisCarriere"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"b2b770766bb1f5f38d579ae7ca62a2808c02590e","tarball":"http://registry-npm.ywwl.com/@turf/line-split/download/@turf/line-split-6.2.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-pNEegfKEMEIsmSJjhQL8rXJL9xUlz7BtDrCpsZoXEA4a1tXlc/ll96c6stFNMKA4ulQd5+DeC3lyZXAA3Tp0Og==","signatures":[{"sig":"MEUCIQCDxpqOu5ymHDi9e4j4oFoOUYnJPGcn1vqPFO+8m9BYeAIgQFMK5jsxvQxJSZTGxiEY7YBvqECbXp0PO8rhT8L43c8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0o8HCRA9TVsSAnZWagAAtJgP/0RaFE20l83PuzqMlc44\n/zXM1WXkx/K82Ap5ctpwWhxaYRJIvTZrsrjU7oB7x1yGpplbcguGCV1UVLvm\nIgHcyEeHoRnYyLvxuFsR2wm7n3qKQMdeC7I0mt6g4cGJOBuWf7O3WKmMCVLr\ntPkrFFFVP+KeGKwidDc+I/CgSwq2bG/raGx/a30h4HWyLr15DS7WwWRXH5rn\nF25qB+O5FT9ay5BORamMM8Fw6vwc5GWf65AX9w+wJBgYtoSbA9B+ncF4/15F\nP6MC5FVpBF9W6dEjFlnLKbnc9Gw18sV3b4jb9eZ2pC/ncOWGL6LRh4x5cIVB\nHK7joE1/OrrrKF3RWASYjos95GtG1utU8ssqfb3fwewLq52MaxyClD1VW4GO\nHYdIAF+spW8YksDO6qljCeVZvb8BlR4tYWWLJivp3JcX2/+uHve5doVy9bHG\nGF8rfBI/wzEI2zfI/sjiJng33oDEqBsefY1ttKF9Q/FVRJxPBdtNq8gcjTB3\ndAmkFK3el3+AqivW3MqTmYxiwI4AdrvPE8/V1nfoPCCzdFjQFZ8ahYIfTgi+\necc3BkkwB2KNtErXPel6G5RoknbyxAaWLOBpy80h7q1oAduhXihuYO3liXFW\ndqxqkjvy+P2+CHvbe38sQSy/Pls5lf7RXS+uVGhwtmQLsLWuFl+6+jEt/hwq\nhCus\r\n=TQNO\r\n-----END PGP SIGNATURE-----\r\n","size":5281,"noattachment":false,"key":"/@turf/line-split/-/@turf/line-split-6.2.0-alpha.3.tgz"},"main":"dist/js/index.js","types":"index.d.ts","module":"dist/es/index.js","exports":{"import":"./dist/es/index.js","require":"./dist/js/index.js"},"gitHead":"dce9edfc705352e8cb9e0083c9330ba0e8d77409","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all test:*","bench":"node -r esm bench.js","build":"rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json","posttest":"node -r esm ../../scripts/validate-es5-dependencies.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.3","@turf/meta":"^6.2.0-alpha.3","@turf/square":"^6.2.0-alpha.3","@turf/helpers":"^6.2.0-alpha.3","geojson-rbush":"3.x","@turf/truncate":"^6.2.0-alpha.3","@turf/invariant":"^6.2.0-alpha.3","@turf/line-segment":"^6.2.0-alpha.3","@turf/line-intersect":"^6.2.0-alpha.3","@turf/nearest-point-on-line":"^6.2.0-alpha.3"},"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.3_1607634695342_0.8704326479175513","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":1607634695474,"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":1607634695474,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}