{"id":25306652,"url":"https://github.com/neworbit/rotate-array-to","last_synced_at":"2025-04-07T06:29:18.572Z","repository":{"id":90166846,"uuid":"155533920","full_name":"NewOrbit/rotate-array-to","owner":"NewOrbit","description":"Rotate an array to a given index","archived":false,"fork":false,"pushed_at":"2018-10-31T10:57:45.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T01:15:27.125Z","etag":null,"topics":["package"],"latest_commit_sha":null,"homepage":null,"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/NewOrbit.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,"governance":null}},"created_at":"2018-10-31T09:48:28.000Z","updated_at":"2019-01-03T17:48:14.000Z","dependencies_parsed_at":"2023-06-09T20:00:24.024Z","dependency_job_id":null,"html_url":"https://github.com/NewOrbit/rotate-array-to","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"4b8d960841d02677d5bb3a02e58768f832a772eb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewOrbit%2Frotate-array-to","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewOrbit%2Frotate-array-to/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewOrbit%2Frotate-array-to/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewOrbit%2Frotate-array-to/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NewOrbit","download_url":"https://codeload.github.com/NewOrbit/rotate-array-to/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247604824,"owners_count":20965497,"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":["package"],"created_at":"2025-02-13T10:36:52.547Z","updated_at":"2025-04-07T06:29:18.553Z","avatar_url":"https://github.com/NewOrbit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rotate-array-to\n\nRotate an array to a given index\n\n## Installation\n\n    npm install rotate-array-to\n\n## Usage\n\n```typescript\nimport rotateArrayTo from \"rotate-array-to\";\n\nconst array = [ \"apples\", \"oranges\", \"bananas\", \"peaches\" ];\n\nrotateArrayTo(array, 2); // [ \"bananas\", \"peaches\", \"apples\", \"oranges\" ]\n```\n\n## License\n\nMade with :sparkling_heart: by [NewOrbit](https://www.neworbit.co.uk/) in Oxfordshire, and licensed under the [MIT Licence](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneworbit%2Frotate-array-to","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneworbit%2Frotate-array-to","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneworbit%2Frotate-array-to/lists"}