{"id":16897771,"url":"https://github.com/behnammodi/cli-infinity-progress","last_synced_at":"2025-12-31T00:05:12.758Z","repository":{"id":57200032,"uuid":"352374200","full_name":"behnammodi/cli-infinity-progress","owner":"behnammodi","description":"Use infinity progress-bar for command-line/terminal","archived":false,"fork":false,"pushed_at":"2021-05-03T19:48:33.000Z","size":1440,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T10:01:58.216Z","etag":null,"topics":["cli","cli-app","command-line","command-line-app","command-line-interface","command-line-tool","command-line-utility","javascript","nodejs","nodejs-library"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/cli-infinity-progress","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/behnammodi.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":"2021-03-28T16:04:01.000Z","updated_at":"2023-02-13T22:31:42.000Z","dependencies_parsed_at":"2022-09-16T15:01:01.522Z","dependency_job_id":null,"html_url":"https://github.com/behnammodi/cli-infinity-progress","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behnammodi%2Fcli-infinity-progress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behnammodi%2Fcli-infinity-progress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behnammodi%2Fcli-infinity-progress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behnammodi%2Fcli-infinity-progress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/behnammodi","download_url":"https://codeload.github.com/behnammodi/cli-infinity-progress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244622852,"owners_count":20483031,"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":["cli","cli-app","command-line","command-line-app","command-line-interface","command-line-tool","command-line-utility","javascript","nodejs","nodejs-library"],"created_at":"2024-10-13T17:39:46.191Z","updated_at":"2025-12-31T00:05:12.752Z","avatar_url":"https://github.com/behnammodi.png","language":"TypeScript","readme":"## A infinity progress bar for terminal\n\n![cli-infinity-progress](https://user-images.githubusercontent.com/1549069/112765222-6a7f9a00-9021-11eb-811a-76abcaee1139.gif)\n\n## Also customizable\n\nYou can add header, footer and change every time\n![cli-infinity-progress-3](https://user-images.githubusercontent.com/1549069/112822071-b15ea580-909c-11eb-8b7e-cd4e2a2fbbeb.gif)\n\n## Install\n\n```bash\nnpm install cli-infinity-progress\n```\n\n## Usage\n\n```js\nconst CLIInfinityProgress = require('cli-infinity-progress');\n\nconst progress = new CLIInfinityProgress();\nprogress.start();\n```\n\n## Methods:\n\n| Name                              | Return | Desc                                                                           |\n| --------------------------------- | ------ | ------------------------------------------------------------------------------ |\n| .setBarColor(colors.green)        | this   | Set bar color `const colors = require('cli-infinity-progress/colors');`        |\n| .setBackgroundColor(colors.white) | this   | Set background color `const colors = require('cli-infinity-progress/colors');` |\n| .setHeader('Header')              | this   | Set header on top of progress. you can update every time                       |\n| .setFooter('Footer')              | this   | Set footer on bottom of progress. you can update every time                    |\n| .setBarChar('🚕')                 | this   | Set bar char                                                                   |\n| .setBackgroundChar('-')           | this   | Set background char                                                            |\n| .setDirectionRightToLeft()        | this   | Progress start from right default is left                                      |\n| .setDirectionLeftToRight()        | this   | Progress start from left                                                       |\n| .setSize(30)                      | this   | Set progress size default is 60                                                |\n| .setBarSize(5)                    | this   | Set bar size default is 20                                                     |\n| .setRefreshRate(80)               | this   | Set refresh rate default is (1000 / 25)ms                                      |\n| .start()                          | this   | Start progress                                                                 |\n| .remove()                         | this   | Remove progress from terminal                                                  |\n| .stop()                           | this   | Stop progress on terminal                                                      |\n| .pause()                          | this   | Pause progress on terminal                                                     |\n| .resume()                         | this   | Resume progress on terminal                                                    |\n\n\u003cbr /\u003e\n\n## You can call all methods as chaining ex:\n\n```js\nconst CLIInfinityProgress = require('cli-infinity-progress');\nconst colors = require('cli-infinity-progress/colors');\n\nprogress\n  .setBackgroundColor(colors.yellow)\n  .setHeader('Loading ...')\n  .setFooter('\\nPlease be patient.')\n  .setBarChar('🚕')\n  .setBackgroundChar('_')\n  .setDirectionRightToLeft()\n  .setSize(32)\n  .setBarSize(1)\n  .setRefreshRate(100)\n  .start();\n\nsetTimeout(() =\u003e progress.setFooter('\\nWoo, Cab is coming.'), 3000);\n```\n\nResult:\n\n![cli-infinity-progress-5](https://user-images.githubusercontent.com/1549069/112892939-3b375e80-90ef-11eb-8d42-1a02e65dbd6d.gif)\n\n\u003cbr /\u003e\n\u003ca href=\"https://travis-ci.com/github/behnammodi/cli-infinity-progress\"\u003e\n  \u003cimg src=\"https://travis-ci.com/behnammodi/cli-infinity-progress.svg?branch=master\" alt=\"Build Status\"\u003e\n\u003c/a\u003e\n\u003cbr /\u003e\u003cbr /\u003e\n\n[Roadmap](https://github.com/behnammodi/cli-infinity-progress/projects/1)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbehnammodi%2Fcli-infinity-progress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbehnammodi%2Fcli-infinity-progress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbehnammodi%2Fcli-infinity-progress/lists"}