{"id":19042056,"url":"https://github.com/writetome51/array-remove-duplicates","last_synced_at":"2026-05-18T05:34:36.870Z","repository":{"id":122062381,"uuid":"151036485","full_name":"writetome51/array-remove-duplicates","owner":"writetome51","description":"Function that removes any duplicate items in the array","archived":false,"fork":false,"pushed_at":"2020-08-05T21:28:16.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T11:32:22.885Z","etag":null,"topics":["array","array-manipulations","duplicates","javascript","remove","remove-duplicates"],"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/writetome51.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":"2018-10-01T04:29:25.000Z","updated_at":"2020-08-05T21:28:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9604eae-fb24-40be-9c4f-20f130ae9758","html_url":"https://github.com/writetome51/array-remove-duplicates","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/writetome51%2Farray-remove-duplicates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Farray-remove-duplicates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Farray-remove-duplicates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writetome51%2Farray-remove-duplicates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/writetome51","download_url":"https://codeload.github.com/writetome51/array-remove-duplicates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100512,"owners_count":19747683,"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","array-manipulations","duplicates","javascript","remove","remove-duplicates"],"created_at":"2024-11-08T22:34:18.312Z","updated_at":"2026-05-08T20:30:19.445Z","avatar_url":"https://github.com/writetome51.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# removeDuplicates(array): void\n\nRemoves any extra instances of each item in `array`.\n \n## Examples\n```js\nlet arr = [1, 2, 3, 4, 1, 2, 3, 4, 5];  \nremoveDuplicates(arr);  \n// arr is now [1,2,3,4,5]\n\narr = [1, 2, ['a','b'], 9, 1, 2, 3, 4, ['a','b']];  \nremoveDuplicates(arr);  \n// arr is now [1, 2, ['a','b'], 9, 3, 4]\n\nlet obj = {name: 'jon'};\narr = [ obj, obj, [obj], [obj] ];\nremoveDuplicates(arr);\n// arr is now [ obj, [obj] ]\n```\n## Installation\n`npm i  @writetome51/array-remove-duplicates`\n\n\n## Loading\n```js\nimport {removeDuplicates} from '@writetome51/array-remove-duplicates';\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwritetome51%2Farray-remove-duplicates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwritetome51%2Farray-remove-duplicates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwritetome51%2Farray-remove-duplicates/lists"}