{"id":22737269,"url":"https://github.com/noblesamurai/angularjs-unique-filter","last_synced_at":"2025-03-30T03:15:49.468Z","repository":{"id":49050617,"uuid":"162502040","full_name":"noblesamurai/angularjs-unique-filter","owner":"noblesamurai","description":"unique filter for angular 1.x","archived":false,"fork":false,"pushed_at":"2021-07-09T08:38:22.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-06T20:35:34.226Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noblesamurai.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":"2018-12-19T23:32:10.000Z","updated_at":"2021-07-23T03:41:38.000Z","dependencies_parsed_at":"2022-09-10T19:22:16.234Z","dependency_job_id":null,"html_url":"https://github.com/noblesamurai/angularjs-unique-filter","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/noblesamurai%2Fangularjs-unique-filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noblesamurai%2Fangularjs-unique-filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noblesamurai%2Fangularjs-unique-filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noblesamurai%2Fangularjs-unique-filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noblesamurai","download_url":"https://codeload.github.com/noblesamurai/angularjs-unique-filter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246269933,"owners_count":20750321,"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-10T22:11:01.423Z","updated_at":"2025-03-30T03:15:49.442Z","avatar_url":"https://github.com/noblesamurai.png","language":"JavaScript","readme":"# AngularJS Unique Filter\n[![Build Status](https://travis-ci.com/noblesamurai/angularjs-unique-filter.svg?branch=master)](https://travis-ci.com/noblesamurai/angularjs-unique-filter)\n\n\u003e unique filter for Angular 1.x\n\n## Prerequisites\n\n```\n$ pip install pre-commit\n```\n\n## Purpose\n- Used to filter a list so that all items are unique based on a specified object key.\n\n## Installation\n\nThis module is installed via npm:\n\n``` bash\n$ pre-commit install --install-hooks\n$ npm install angularjs-unique-filter\n```\n\n## Usage\n\nImport angularjs-unique-filter and angular:\n\n```js\nimport angular from 'angular';\nimport uniqueFilter from 'angularjs-unique-filter';\n```\n\nEnsure that your application module specifies the filter as a dependency:\n\n```js\nangular.module('yourModule', [ uniqueFilter.name ]);\n```\n\nUse the filter in your html:\n\n```html\n\u003cul ng-repeat=\"item in items | unique:'name'\"\u003e{{ item.name }}\u003c/ul\u003e\n```\n\n## License\n\nThe BSD License\n\nCopyright (c) 2018, Andrew Harris\n\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice, this\n  list of conditions and the following disclaimer in the documentation and/or\n  other materials provided with the distribution.\n\n* Neither the name of the Andrew Harris nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoblesamurai%2Fangularjs-unique-filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoblesamurai%2Fangularjs-unique-filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoblesamurai%2Fangularjs-unique-filter/lists"}