{"id":22293817,"url":"https://github.com/nescalante/distinct","last_synced_at":"2025-08-20T23:11:19.840Z","repository":{"id":25821278,"uuid":"29260474","full_name":"nescalante/distinct","owner":"nescalante","description":"get distinct values from an array","archived":false,"fork":false,"pushed_at":"2017-08-01T00:36:56.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T03:34:35.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://nescalante.github.io","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/nescalante.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}},"created_at":"2015-01-14T19:01:47.000Z","updated_at":"2017-04-27T15:13:03.000Z","dependencies_parsed_at":"2022-07-24T07:17:15.756Z","dependency_job_id":null,"html_url":"https://github.com/nescalante/distinct","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/nescalante%2Fdistinct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nescalante%2Fdistinct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nescalante%2Fdistinct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nescalante%2Fdistinct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nescalante","download_url":"https://codeload.github.com/nescalante/distinct/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245550681,"owners_count":20633883,"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-03T17:32:12.897Z","updated_at":"2025-03-25T22:18:43.834Z","avatar_url":"https://github.com/nescalante.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# distinct()\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/nescalante/distinct.svg)](https://greenkeeper.io/)\n\nBecause nobody wants repeated things\n\n## Install\n\n```shell\nnpm install distinct\n```\n\nJust call it and it will retrieve just all distinct values\n\n```js\nvar distinct = require('distinct');\nvar arr = distinct([1, 1, 2, 3, 3, 3, 4]);\n\nconsole.log(arr); // [1, 2, 3, 4]\n```\n\nThats it!\n\nKeep in mind that `distinct` uses the [`equals`](https://github.com/jkroso/equals) package to compare items.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnescalante%2Fdistinct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnescalante%2Fdistinct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnescalante%2Fdistinct/lists"}