{"id":16125744,"url":"https://github.com/dy/lines-intersection","last_synced_at":"2025-04-06T13:13:22.485Z","repository":{"id":66081314,"uuid":"130770961","full_name":"dy/lines-intersection","owner":"dy","description":"Get intersection point of two lines, if any","archived":false,"fork":false,"pushed_at":"2018-04-24T00:01:52.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T04:34:38.265Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-24T00:01:34.000Z","updated_at":"2021-06-29T07:03:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"60b131a5-be63-488a-b49c-74483989a9b5","html_url":"https://github.com/dy/lines-intersection","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"4a89fdc6bf1e67996b3a03cec4f25f03e33b5e64"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Flines-intersection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Flines-intersection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Flines-intersection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Flines-intersection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dy","download_url":"https://codeload.github.com/dy/lines-intersection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485290,"owners_count":20946398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T21:31:24.172Z","updated_at":"2025-04-06T13:13:22.466Z","avatar_url":"https://github.com/dy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lines-intersection [![experimental](https://img.shields.io/badge/stability-unstable-green.svg)](http://github.com/badges/stability-badges) [![Build Status](https://travis-ci.org/dy/lines-intersection.png)](https://travis-ci.org/dy/lines-intersection)\n\nCalculate intersection of two lines.\n\n[![npm install lines-intersection](https://nodei.co/npm/lines-intersection.png?mini=true)](https://npmjs.org/package/lines-intersection/)\n\n```js\nconst x = require('lines-intersection')\n\nx(0,0, 1,1, 1,0, 0,1) // [.5, .5]\nx([0,0, 1,1], [1,0, 0,1]) // [.5, .5]\nx([0,0], [1,1], [1,0], [0,1]) // [.5, .5]\n```\n\n## Related\n\n* [segseg](https://www.npmjs.com/package/segseg) − find intersection of two segments.\n* [lines-intersect](https://www.npmjs.com/package/lines-intersect) − check if lines intersect.\n* [simple-intersect](https://www.npmjs.com/package/simple-intersect) − collection of various intersection checkers.\n\n## Analogs\n\n* [linestring-intersect](https://www.npmjs.com/package/linestring-intersect)\n* [line-intersect-2d](https://www.npmjs.com/package/line-intersect-2d)\n* [line-segments-intersection](https://www.npmjs.com/package/line-segments-intersection)\n* [line-segment-intersection](https://www.npmjs.com/package/line-segment-intersection)\n* [@turf/line-intersect](https://www.npmjs.com/package/@turf/line-intersect)\n* [line-intersection](https://www.npmjs.com/package/line-intersection)\n* [line-intersect](https://www.npmjs.com/package/line-intersect)\n* [intersection](https://www.npmjs.com/package/intersection)\n\n## License\n\n(c) 2018 Dmitry Yv. MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdy%2Flines-intersection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdy%2Flines-intersection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdy%2Flines-intersection/lists"}