{"id":16125504,"url":"https://github.com/semibran/euclidean","last_synced_at":"2025-07-28T12:03:49.584Z","repository":{"id":57231034,"uuid":"95992169","full_name":"semibran/euclidean","owner":"semibran","description":"Calculate the Euclidean distance between two points","archived":false,"fork":false,"pushed_at":"2017-07-01T23:16:21.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T22:03:41.742Z","etag":null,"topics":["distance","euclidean","geometry","math"],"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/semibran.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-01T23:15:37.000Z","updated_at":"2019-07-09T12:10:32.000Z","dependencies_parsed_at":"2022-09-10T09:50:26.808Z","dependency_job_id":null,"html_url":"https://github.com/semibran/euclidean","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/semibran/euclidean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Feuclidean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Feuclidean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Feuclidean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Feuclidean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semibran","download_url":"https://codeload.github.com/semibran/euclidean/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Feuclidean/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267512941,"owners_count":24099628,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["distance","euclidean","geometry","math"],"created_at":"2024-10-09T21:29:51.271Z","updated_at":"2025-07-28T12:03:49.516Z","avatar_url":"https://github.com/semibran.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# euclidean\n\u003e Calculate the [Euclidean distance](https://en.wikipedia.org/wiki/Euclidean_distance) between two points\n\n![Euclidean distance](diagram.png)\n\nThis module exposes the function `distance(a, b)`, which determines the Euclidean distance between points `a` and `b`.\n```js\n\u003e const distance = require('euclidean')\n\u003e distance([0, 0], [2, 2])\n3\n```\n\n[![NPM](https://nodei.co/npm/euclidean.png?mini)](https://www.npmjs.com/package/euclidean)\n\n## see also\n- [`semibran/manhattan`](https://github.com/semibran/manhattan) - calculate Manhattan distance\n- [`semibran/chebyshev`](https://github.com/semibran/chebyshev) - calculate Chebyshev distance\n- [`semibran/vector`](https://github.com/semibran/vector) - more vector math\n\n## license\n[MIT](https://opensource.org/licenses/MIT) © [Brandon Semilla](https://git.io/semibran)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemibran%2Feuclidean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemibran%2Feuclidean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemibran%2Feuclidean/lists"}