{"id":22731329,"url":"https://github.com/sno2/dector","last_synced_at":"2025-12-11T21:14:19.846Z","repository":{"id":62421706,"uuid":"297122542","full_name":"sno2/dector","owner":"sno2","description":"A zero-dependency module for using vectors with Deno.","archived":false,"fork":false,"pushed_at":"2020-09-20T17:36:40.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T22:07:43.737Z","etag":null,"topics":["deno","deno-module","vector","vector-field","vector-math","vectors"],"latest_commit_sha":null,"homepage":"https://deno.land/x/dector","language":"TypeScript","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/sno2.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":"2020-09-20T16:58:10.000Z","updated_at":"2020-10-25T04:40:50.000Z","dependencies_parsed_at":"2022-11-01T17:31:49.562Z","dependency_job_id":null,"html_url":"https://github.com/sno2/dector","commit_stats":null,"previous_names":["codingcarter/dector"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sno2%2Fdector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sno2%2Fdector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sno2%2Fdector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sno2%2Fdector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sno2","download_url":"https://codeload.github.com/sno2/dector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246264640,"owners_count":20749492,"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":["deno","deno-module","vector","vector-field","vector-math","vectors"],"created_at":"2024-12-10T19:21:33.185Z","updated_at":"2025-12-11T21:14:14.546Z","avatar_url":"https://github.com/sno2.png","language":"TypeScript","readme":"# Dector\n\n[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/dector/mod.ts)\n\nA zero-dependency vector module for Deno.\n\n## Usage\n\n```ts\nimport { Dector } from \"https://deno.land/x/dector\";\n\nconst myDector1 = new Dector(2, 3);\nconst myDector2 = new Dector(5, -4);\n\nconst dotProduct: number = myDector1.dotProduct(myDector2);\nconst crossProduct: Dector = myDector1.crossProduct(myDector2)!; // ! used because `crossProduct` may return null\n\n// these methods modify the given `Dector` and return itself which allows chaining\nmyDector1.multiply(6).add(myDector2).subtract(myDector2).negate();\n```\n\n## Docs\n\nCheck out the full documentation by clicking the button below!\n\n[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/dector/mod.ts)\n\n## Contributions\n\nContributions are welcome, but make sure you provide a descriptive title and description to limit the number of questions and further increase the cohesion of communication. Also, make sure you run `deno test` before submitting any pull requests to make sure that your code passes the tests. Of course, you have to modify the `tests/dector.test.ts` file if you are adding any features or changes.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsno2%2Fdector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsno2%2Fdector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsno2%2Fdector/lists"}