{"id":20538281,"url":"https://github.com/celtian/ngx-repeat","last_synced_at":"2025-04-14T07:50:20.919Z","repository":{"id":40306353,"uuid":"339540879","full_name":"Celtian/ngx-repeat","owner":"Celtian","description":"Angular directive for repeating HTML element by count","archived":false,"fork":false,"pushed_at":"2025-02-13T07:30:39.000Z","size":2529,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T20:36:11.451Z","etag":null,"topics":["angular","library"],"latest_commit_sha":null,"homepage":"https://celtian.github.io/ngx-repeat","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/Celtian.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-16T21:51:49.000Z","updated_at":"2025-03-12T14:08:20.000Z","dependencies_parsed_at":"2024-12-15T00:06:52.356Z","dependency_job_id":"a51509d3-cb91-45ae-9c9f-665a83d9d023","html_url":"https://github.com/Celtian/ngx-repeat","commit_stats":{"total_commits":111,"total_committers":1,"mean_commits":111.0,"dds":0.0,"last_synced_commit":"036525cde6ec8fa13ffc1e39aae44ecdfbc6f93c"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fngx-repeat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fngx-repeat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fngx-repeat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fngx-repeat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Celtian","download_url":"https://codeload.github.com/Celtian/ngx-repeat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248844028,"owners_count":21170486,"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":["angular","library"],"created_at":"2024-11-16T00:46:09.708Z","updated_at":"2025-04-14T07:50:20.906Z","avatar_url":"https://github.com/Celtian.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Celtian/ngx-repeat\" target=\"blank\"\u003e\u003cimg src=\"assets/logo.svg?sanitize=true\" alt=\"\" width=\"120\"\u003e\u003c/a\u003e\n  \u003ch1 align=\"center\"\u003eNgxRepeat\u003c/h1\u003e\n\u003c/p\u003e\n\n[![npm version](https://badge.fury.io/js/ngx-repeat.svg)](https://badge.fury.io/js/ngx-repeat)\n[![Package License](https://img.shields.io/npm/l/ngx-repeat.svg)](https://www.npmjs.com/ngx-repeat)\n[![NPM Downloads](https://img.shields.io/npm/dm/ngx-repeat.svg)](https://www.npmjs.com/ngx-repeat)\n[![Snyk](https://snyk.io/advisor/npm-package/ngx-repeat/badge.svg)](https://snyk.io/advisor/npm-package/ngx-repeat)\n[![codecov](https://codecov.io/gh/Celtian/ngx-repeat/branch/master/graph/badge.svg?token=1IRUKIKM0D)](https://codecov.io/gh/celtian/ngx-repeat/)\n[![stars](https://badgen.net/github/stars/celtian/ngx-repeat)](https://github.com/celtian/ngx-repeat/)\n[![forks](https://badgen.net/github/forks/celtian/ngx-repeat)](https://github.com/celtian/ngx-repeat/)\n[![HitCount](http://hits.dwyl.com/celtian/ngx-repeat.svg)](http://hits.dwyl.com/celtian/ngx-repeat)\n\n\u003e Angular directive for repeating HTML element by count\n\n\u003e ✓ _Angular 19 compatible_\n\nHere's the [demo](http://celtian.github.io/ngx-repeat/) or [stackblitz live preview](https://stackblitz.com/edit/ngx-repeat) or [codesandbox live preview](https://codesandbox.io/s/ngx-repeat-bew8f)\n\n- Lightweight\n- No dependencies!\n- Directive way\n\n## 🛠️ Install\n\n1. Use yarn (or npm) to install the package\n\n```terminal\nyarn add ngx-repeat\n```\n\n2. Add NgxRepeatDirective into your component`\n\n```typescript\nimport { NgxRepeatDirective } from 'ngx-repeat';\n\n@Component({\n  standalone: true,\n  imports: [NgxRepeatDirective /*, ...*/],\n   // ...\n})\n```\n\nor module\n\n```typescript\nimport { NgxRepeatDirective } from 'ngx-repeat';\n\n@NgModule({\n // ...\n imports: [\n   // ...\n   NgxRepeatDirective\n ]\n})\n```\n\n## 🚀 Quick start\n\n### Example code\n\n```html\n\u003cdiv\n  *ngxRepeat=\"3; \n    let index = index;\n    let even = even;\n    let odd = odd;\n    let first = first;\n    let last = last;\"\n\u003e\n  {{ index }} {{ even }} {{ odd }} {{ first }} {{ last }}\n\u003c/div\u003e\n```\n\n### Result\n\n```code\n  0 true false true false\n  1 false true false false\n  2 true false false true\n```\n\n## 🔧 Compatibility\n\n| Angular   | ngx-repeat | Install                 |\n| --------- | ---------- | ----------------------- |\n| \u003e= 19     | 3.x        | `yarn add ngx-repeat`   |\n| \u003e= 14     | 2.x        | `yarn add ngx-repeat@2` |\n| \u003e= 12     | 1.x        | `yarn add ngx-repeat@1` |\n| \u003e= 5 \u003c 13 | 0.x        | `yarn add ngx-repeat@0` |\n\n## 📦 Dependencies\n\n_None_\n\n## 🪪 License\n\nCopyright \u0026copy; 2021 - 2025 [Dominik Hladik](https://github.com/Celtian)\n\nAll contents are licensed under the [MIT license].\n\n[mit license]: LICENSE\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceltian%2Fngx-repeat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceltian%2Fngx-repeat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceltian%2Fngx-repeat/lists"}