{"id":22273115,"url":"https://github.com/mac-/array-move-many","last_synced_at":"2025-03-25T16:27:16.001Z","repository":{"id":147570967,"uuid":"57267940","full_name":"mac-/array-move-many","owner":"mac-","description":"Node module for moving a group of items in an array to a new index","archived":false,"fork":false,"pushed_at":"2016-04-28T03:32:10.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T14:41:03.911Z","etag":null,"topics":[],"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/mac-.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-28T03:28:15.000Z","updated_at":"2016-04-28T03:29:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a093ad38-6390-400f-8e27-0c72a0f25c95","html_url":"https://github.com/mac-/array-move-many","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-%2Farray-move-many","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-%2Farray-move-many/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-%2Farray-move-many/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-%2Farray-move-many/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mac-","download_url":"https://codeload.github.com/mac-/array-move-many/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245499044,"owners_count":20625295,"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":[],"created_at":"2024-12-03T13:09:49.429Z","updated_at":"2025-03-25T16:27:15.995Z","avatar_url":"https://github.com/mac-.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# array-move-many\n\nReturns a new array in which one or more consectutive items within a source array are moved to a new index\n\n[![Build Status](https://secure.travis-ci.org/mac-/array-move-many.png)](http://travis-ci.org/mac-/array-move-many)\n[![NPM version](https://badge.fury.io/js/array-move-many.png)](http://badge.fury.io/js/array-move-many)\n[![Dependency Status](https://david-dm.org/mac-/array-move-many.png)](https://david-dm.org/mac-/array-move-many)\n\n[![NPM](https://nodei.co/npm/array-move-many.png?downloads=true\u0026stars=true)](https://nodei.co/npm/array-move-many/)\n\n## Contributing\n\nThis module makes use of a `Makefile` for building/testing purposes. After obtaining a copy of the repo, run the following commands to make sure everything is in working condition before you start your work:\n\n\tmake install\n\tmake test\n\nBefore committing a change to your fork/branch, run the following commands to make sure nothing is broken:\n\n\tmake test\n\tmake test-cov\n\nDon't forget to bump the version in the `package.json` using the [semver](http://semver.org/spec/v2.0.0.html) spec as a guide for which part to bump. Submit a pull request when your work is complete.\n\n***Notes:***\n* Please do your best to ensure the code coverage does not drop. If new unit tests are required to maintain the same level of coverage, please include those in your pull request.\n* Please follow the same coding/formatting practices that have been established in the module.\n\n## Installation\n\n\tnpm install array-move-many\n\n## Usage\n\n```js\nvar move = require('array-move-many');\n\nvar result = move(['a', 'b', 'c', 'd'], 0, 2, 1);\n// result = ['c', 'a', 'b', 'd']\n\n```\n\n# License\n\nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac-%2Farray-move-many","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmac-%2Farray-move-many","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac-%2Farray-move-many/lists"}