{"id":13417325,"url":"https://github.com/jeddygong/vite-plugin-progress","last_synced_at":"2025-08-24T12:37:53.267Z","repository":{"id":37411403,"uuid":"493998664","full_name":"jeddygong/vite-plugin-progress","owner":"jeddygong","description":"A progress bar plugin for Vite.","archived":false,"fork":false,"pushed_at":"2023-09-25T10:50:35.000Z","size":288,"stargazers_count":198,"open_issues_count":5,"forks_count":19,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-07T10:16:01.863Z","etag":null,"topics":["plugin","progress","progress-bar","vite"],"latest_commit_sha":null,"homepage":"","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/jeddygong.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-05-19T09:09:51.000Z","updated_at":"2025-05-31T14:04:37.000Z","dependencies_parsed_at":"2023-01-31T06:15:59.244Z","dependency_job_id":"a3f5f873-1b75-4a59-8736-b128128b7756","html_url":"https://github.com/jeddygong/vite-plugin-progress","commit_stats":{"total_commits":29,"total_committers":4,"mean_commits":7.25,"dds":"0.13793103448275867","last_synced_commit":"21a1ff82ffe4702fde35cd1bff3012783f2793c4"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jeddygong/vite-plugin-progress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeddygong%2Fvite-plugin-progress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeddygong%2Fvite-plugin-progress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeddygong%2Fvite-plugin-progress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeddygong%2Fvite-plugin-progress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeddygong","download_url":"https://codeload.github.com/jeddygong/vite-plugin-progress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeddygong%2Fvite-plugin-progress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267128082,"owners_count":24040157,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["plugin","progress","progress-bar","vite"],"created_at":"2024-07-30T22:00:35.376Z","updated_at":"2025-07-26T06:17:58.969Z","avatar_url":"https://github.com/jeddygong.png","language":"TypeScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Framework-agnostic Plugins"],"readme":"# vite-plugin-progress\nDisplay with progress bar when building\n\n[![NPM version](https://img.shields.io/npm/v/vite-plugin-progress.svg)](https://npmjs.org/package/vite-plugin-progress)\n[![NPM version](https://badgen.net/npm/dt/vite-plugin-progress)](https://www.npmjs.com/package/vite-plugin-progress)\n[![NPM Downloads](https://img.shields.io/github/license/jeddygong/vite-plugin-progress)](https://npmjs.org/package/vite-plugin-progress)\n[![awesome-vite](https://awesome.re/badge.svg)](https://github.com/vitejs/awesome-vite)\n\n**English | [简体中文](https://github.com/jeddygong/vite-plugin-progress/blob/main/README.zh-CN.md)**\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"demo.gif\" width=\"100%\" alt=\"Logo\"/\u003e\n\u003c/p\u003e\n\n## 📦 Install\n```\n# npm\nnpm i vite-plugin-progress -D \n\n# yarn \nyarn add vite-plugin-progress -D\n\n# pnpm \npnpm i vite-plugin-progress -D\n```\n\n## 🦄 Usage\nAdd `progress` plugin to `vite.config.js / vite.config.ts` and configure it:\n```ts\n// vite.config.js / vite.config.ts\nimport progress from 'vite-plugin-progress'\n\nexport default {\n  plugins: [\n    progress()\n  ]\n}\n```\n\n\u003e Tip: During the first build, `transforms` and `chunks` are not displayed.\n\n\n## Options\nAccepts almost all of the same options as [node-progress](https://github.com/tj/node-progress#options).\n\n- `format` the format of the progress bar\n- `width` the displayed width of the progress bar defaulting to total\n- `complete` completion character defaulting to \"\\u2588\"\n- `incomplete` incomplete character defaulting to \"\\u2591\"\n- `renderThrottle` minimum time between updates in milliseconds defaulting to 16\n- `clear` option to clear the bar on completion defaulting to false\n- `callback` optional function to call when the progress bar completes\n- `stream` the output stream defaulting to stderr\n- `head` head character defaulting to complete character\n- `srcDir` the directory of the assets being built defaulting to \"src\"\n\nThe `format` option accepts the following tokens:\n\n- `:bar` the progress bar itself\n- `:current` current tick number\n- `:total` total ticks\n- `:elapsed` time elapsed in seconds\n- `:percent` completion percentage\n- `:eta` estimated completion time in seconds\n- `:rate` rate of ticks per second\n\n\nUse [picocolors](https://github.com/alexeyraspopov/picocolors) to sprinkle on a few colors.\n\n## Configure options\n\n```ts\n// vite.config.js / vite.config.ts\nimport progress from 'vite-plugin-progress'\n\nexport default {\n  plugins: [\n    progress({\n        format: 'building [:bar] :percent',\n        total: 200,\n        width: 60,\n        complete: '=',\n        incomplete: '',\n    })\n  ]\n}\n```\n\n```ts\n// vite.config.js / vite.config.ts\nimport progress from 'vite-plugin-progress'\nimport colors from 'picocolors'\n\nexport default {\n  plugins: [\n    progress({\n        format:  `${colors.green(colors.bold('Bouilding'))} ${colors.cyan('[:bar]')} :percent`\n    })\n  ]\n}\n```\n\n## Thanks\n\nThis project is inspired [progress-bar-webpack-plugin](https://github.com/clessg/progress-bar-webpack-plugin)\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeddygong%2Fvite-plugin-progress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeddygong%2Fvite-plugin-progress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeddygong%2Fvite-plugin-progress/lists"}