{"id":24208675,"url":"https://github.com/squareetlabs/ng-circle-timer","last_synced_at":"2026-04-29T07:35:01.652Z","repository":{"id":196533495,"uuid":"696447511","full_name":"squareetlabs/ng-circle-timer","owner":"squareetlabs","description":"Simple circle countdown timer component for Angular 12","archived":false,"fork":false,"pushed_at":"2023-09-25T19:58:03.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T12:48:49.132Z","etag":null,"topics":["angular","circle-countdown","circle-countdown-timer","circle-timer","countdown","countdown-timer"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squareetlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-25T19:02:45.000Z","updated_at":"2024-06-27T05:18:18.000Z","dependencies_parsed_at":"2023-09-26T01:53:53.346Z","dependency_job_id":null,"html_url":"https://github.com/squareetlabs/ng-circle-timer","commit_stats":null,"previous_names":["squareetlabs/ng-circle-timer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/squareetlabs/ng-circle-timer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareetlabs%2Fng-circle-timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareetlabs%2Fng-circle-timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareetlabs%2Fng-circle-timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareetlabs%2Fng-circle-timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squareetlabs","download_url":"https://codeload.github.com/squareetlabs/ng-circle-timer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareetlabs%2Fng-circle-timer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32416146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","circle-countdown","circle-countdown-timer","circle-timer","countdown","countdown-timer"],"created_at":"2025-01-14T01:18:03.376Z","updated_at":"2026-04-29T07:35:01.635Z","avatar_url":"https://github.com/squareetlabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Circle Countdown Timer Component\n\nFlexible, lightweight, easy-to-use, without external dependencies and generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.5.\n\n### Install it\n```npm install --save ng-circle-timer```\n\n------------------------\n## How to use it\n\nYou can use it by importing it into app.module.ts.\n```\nimport { NgCircleTimerModule } from 'ng-circle-timer';\n\n`@NgModule({\n    imports: [NgCircleTimerModule],\n    declarations: [],\n    providers: [],\n })\nexport class AppModule { }\n```\nIn case you are also using lazy loading pages, check if your pages have a module file, e.g. `otp.module.ts`. If they do, import `NgCircleTimerModule` into the module of each page where you are going to use it.\n```\n@NgModule({\n    imports: [\n        CommonModule,\n        .....\n        NgCircleTimerModule,\n    ],\n    declarations: [OtpPage]\n})\nexport class OtpPageModule {\n}\n```\nOnce imported, it is ready for use. You can use it in your page controller file as follows:\n\n```\n@Component({\n    selector: 'ngx-otp',\n    templateUrl: './otp.page.html',\n    styleUrls: ['./otp.page.scss'],\n})\nexport class OtpPage implements OnInit, OnDestroy {\n    @ViewChild('timer', {static: false}) timer: NgCircleTimerComponent;\n    canSendCode: boolean = false;\n    constructor() {\n    }\n    \n    onTimeComplete: (event: Emoji) =\u003e {\n          that.canSendCode = false;\n    };\n}\n```\nAnd in your page html file as follows:\n```\u003cng-circle-timer #timer [duration]=\"60\" (onComplete)=\"onTimeComplete($event)\"\u003e\u003c/ng-circle-timer\u003e```\n\n## Building\n\nRun `ng build ng-circle-timer` to build the project. The build artifacts will be stored in the `dist/` directory.\n\n## Publishing\n\nAfter building your library with `ng build ng-circle-timer`, go to the dist folder `cd dist/ng-circle-timer` and run `npm publish`.\n\n## Running unit tests\n\nRun `ng test ng-circle-timer` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.\n\n\n## Credits\n- [Alberto Rial Barreiro](https://github.com/alberto-rial)\n- [Jacobo Cantorna Cigarrán](https://github.com/jcancig)\n- [Desarrollo de apps para moviles](https://squareet.com/desarrollo-de-aplicaciones-para-moviles) SquareetLabs\n\n## License\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareetlabs%2Fng-circle-timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquareetlabs%2Fng-circle-timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareetlabs%2Fng-circle-timer/lists"}