{"id":26942080,"url":"https://github.com/x-titan/vector","last_synced_at":"2025-04-02T16:39:15.286Z","repository":{"id":65473228,"uuid":"464977436","full_name":"x-titan/vector","owner":"x-titan","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-10T19:25:44.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T22:05:53.945Z","etag":null,"topics":["browser-js","ivector","javascript","js","vector","vector2","vector3"],"latest_commit_sha":null,"homepage":"https://x-titan.github.io/vector/index.js","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/x-titan.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-03-01T16:45:25.000Z","updated_at":"2022-03-09T11:59:43.000Z","dependencies_parsed_at":"2023-01-25T03:05:16.757Z","dependency_job_id":null,"html_url":"https://github.com/x-titan/vector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-titan%2Fvector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-titan%2Fvector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-titan%2Fvector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-titan%2Fvector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/x-titan","download_url":"https://codeload.github.com/x-titan/vector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246852500,"owners_count":20844406,"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":["browser-js","ivector","javascript","js","vector","vector2","vector3"],"created_at":"2025-04-02T16:39:14.639Z","updated_at":"2025-04-02T16:39:15.261Z","avatar_url":"https://github.com/x-titan.png","language":"JavaScript","readme":"# Vector\n\nXTitan_Vector is a JavaScript library for mathematical functions related to vectors.\n\n## Usage\n\nTo use XTitan_Vector in your project, include the following script tag in your HTML file:\n\n```html\n\u003cscript scr=\"https://x-titan.github.io/vector/index.js\" type=\"module\" defer\u003e\u003c/script\u003e\n```\n\nYou can import various components from XTitan_Vector in your JavaScript file as follows:\n\n```javascript\nimport {\n  IVector,  // vector interface\n  AVector,  // vector abstract class\n  Vector,   // vector class\n  ...       // others\n} from \"https://x-titan.github.io/vector/index.js\"\n```\n\n## Exports\n\n\n`IVector` is a interface for Vector.\n`AVector` is abstract class.\n\n```javascript\nexport class IVector { ... }\n\nexport class AVector extends IVector { ... }\n\nexport class Vector extends AVector { ... }\n\nexport class Vector2 extends Vector { ... }\n\nexport class Vector3 extends Vector { ... }\n\nexport const VECTOR_CONSTANTS = { ... }\n\nexport function vec (x, y, z): Vector\n\nexport function v2 (x, y): Vector2\n\nexport function v3 (x, y, z): Vector3\n```\n\n## License\n\nThis project is licensed under the [MIT License](./LICENSE).\n\n## Contact/Support\n\nFor questions or support, you can reach out to the project maintainers:\n\n- [XTitan](mailto:telmanov2002.at@gmail.com)\n\nFeel free to open an issue if you encounter any problems or have suggestions for improvement.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx-titan%2Fvector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx-titan%2Fvector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx-titan%2Fvector/lists"}