{"id":17959488,"url":"https://github.com/ecrmnn/drop-every","last_synced_at":"2025-09-12T19:44:06.522Z","repository":{"id":57216418,"uuid":"97348647","full_name":"ecrmnn/drop-every","owner":"ecrmnn","description":"Returns an array with every nth item of the array dropped","archived":false,"fork":false,"pushed_at":"2017-07-16T00:03:00.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T22:29:33.374Z","etag":null,"topics":["array-manipulations","arrays","list"],"latest_commit_sha":null,"homepage":"https://npmjs.com/drop-every","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/ecrmnn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-15T23:50:49.000Z","updated_at":"2017-07-16T17:25:45.000Z","dependencies_parsed_at":"2022-08-26T12:50:14.427Z","dependency_job_id":null,"html_url":"https://github.com/ecrmnn/drop-every","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ecrmnn/drop-every","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecrmnn%2Fdrop-every","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecrmnn%2Fdrop-every/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecrmnn%2Fdrop-every/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecrmnn%2Fdrop-every/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecrmnn","download_url":"https://codeload.github.com/ecrmnn/drop-every/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecrmnn%2Fdrop-every/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259610152,"owners_count":22884206,"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":["array-manipulations","arrays","list"],"created_at":"2024-10-29T11:03:26.712Z","updated_at":"2025-06-27T03:36:39.337Z","avatar_url":"https://github.com/ecrmnn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drop-every\n\u003e Returns an array of every nth item in the array dropped\n\n[![travis](https://img.shields.io/travis/ecrmnn/drop-every/master.svg?style=flat-square)](https://travis-ci.org/ecrmnn/drop-every/builds)\n[![npm version](https://img.shields.io/npm/v/drop-every.svg?style=flat-square)](http://badge.fury.io/js/drop-every)\n[![npm downloads](https://img.shields.io/npm/dm/drop-every.svg?style=flat-square)](http://badge.fury.io/js/drop-every)\n[![npm license](https://img.shields.io/npm/l/drop-every.svg?style=flat-square)](http://badge.fury.io/js/drop-every)\n[![prs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![eslint](https://img.shields.io/badge/code_style-airbnb-blue.svg?style=flat-square)](https://github.com/airbnb/javascript)\n\n### Installation\n```bash\nnpm install drop-every --save\n```\n\n### Usage\n```javascript\nconst dropEvery = require('drop-every');\n\ndropEvery([1, 2, 3, 4, 5], 2);\n//=\u003e [1, 3, 5]\n\ndropEvery([1, 2, 3, 4, 5], 3);\n//=\u003e [1, 2, 4, 5]\n\ndropEvery([1, 2, 3, 4, 5], n =\u003e n \u003c 3));\n//=\u003e [3, 4, 5]\n```\n\n### License\nMIT © [Daniel Eckermann](http://danieleckermann.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecrmnn%2Fdrop-every","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecrmnn%2Fdrop-every","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecrmnn%2Fdrop-every/lists"}