{"id":20676564,"url":"https://github.com/calebowens/vectors","last_synced_at":"2026-06-29T18:01:42.361Z","repository":{"id":57698167,"uuid":"500208732","full_name":"calebowens/Vectors","owner":"calebowens","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-05T21:00:15.000Z","size":81,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T04:48:50.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calebowens.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-05T20:49:17.000Z","updated_at":"2022-06-05T21:07:06.000Z","dependencies_parsed_at":"2022-08-25T11:11:24.704Z","dependency_job_id":null,"html_url":"https://github.com/calebowens/Vectors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/calebowens/Vectors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebowens%2FVectors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebowens%2FVectors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebowens%2FVectors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebowens%2FVectors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebowens","download_url":"https://codeload.github.com/calebowens/Vectors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebowens%2FVectors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34937374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"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":[],"created_at":"2024-11-16T21:13:00.475Z","updated_at":"2026-06-29T18:01:42.332Z","avatar_url":"https://github.com/calebowens.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vectors CO\n\nThis library is an implementation of N length vectors. I made the initial implementation for a ray tracing demo I was working on. Looking at the vector libraries out there, it seems like there aren't many multi-dimensional ones. So, here is mine.\n\n### Documentation\n\nhttps://calebowens.github.io/Vectors/\n\n### Git Repo\n\nhttps://github.com/calebowens/Vectors\n\n## Example\n\nVec3; Also implemented are Vec2 and Vec4 specializations\n\n```ts\nimport { Vec3 } from 'vectors-co'\n\nconst vec1 = new Vec3([1, 2, 3])\nconst vec2 = new Vec3([2, 3, 4])\n\nconst vec3 = vec1.add(vec2) // is Vec3([3, 5, 7])\nconst vec4 = vec1.mul(vec2) // is Vec3([2, 6, 12])\n```\n\nVec\\\u003cN\\\u003e\n\n```ts\nimport { Vec } from 'vectors-co'\n\nconst vec1 = new Vec([1, 2, 3], 3)\nconst vec2 = new Vec([2, 3, 4], 3)\n\nconst vec3 = vec1.add(vec2) // is Vec\u003c3\u003e([3, 5, 7], 3)\nconst vec4 = vec1.mul(vec2) // is Vec\u003c3\u003e([2, 6, 12], 3)\n```\n\n### TODO\n\n- N-Length Cross Products, so the product of N-1 vectors crossed together\n- No throwing errors. Throwing errors sucks.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebowens%2Fvectors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebowens%2Fvectors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebowens%2Fvectors/lists"}