{"id":13809827,"url":"https://github.com/jambonn/vue-next-progressbar","last_synced_at":"2026-01-22T20:35:17.922Z","repository":{"id":48819444,"uuid":"383053235","full_name":"jambonn/vue-next-progressbar","owner":"jambonn","description":"Slim progress bars for Vue 3.","archived":false,"fork":false,"pushed_at":"2024-03-20T03:51:29.000Z","size":103,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-27T21:38:43.408Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"vue-next-progressbar.vercel.app","language":"JavaScript","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/jambonn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-05T07:31:22.000Z","updated_at":"2024-01-17T15:50:12.000Z","dependencies_parsed_at":"2024-03-20T04:49:29.150Z","dependency_job_id":null,"html_url":"https://github.com/jambonn/vue-next-progressbar","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.09090909090909094,"last_synced_commit":"34286c805229a150c0b2a5a0893ad780e8268f98"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/jambonn/vue-next-progressbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jambonn%2Fvue-next-progressbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jambonn%2Fvue-next-progressbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jambonn%2Fvue-next-progressbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jambonn%2Fvue-next-progressbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jambonn","download_url":"https://codeload.github.com/jambonn/vue-next-progressbar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jambonn%2Fvue-next-progressbar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28670385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T19:36:09.361Z","status":"ssl_error","status_checked_at":"2026-01-22T19:36:05.567Z","response_time":144,"last_error":"SSL_read: 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":[],"created_at":"2024-08-04T02:00:36.983Z","updated_at":"2026-01-22T20:35:17.896Z","avatar_url":"https://github.com/jambonn.png","language":"JavaScript","funding_links":[],"categories":["Components \u0026 Libraries","JavaScript"],"sub_categories":["UI Components"],"readme":"# Vue next progressbar\n\u003e Slim progress bars for Vue 3.\n\n## Table of Contents\n- [Installation](#installation)\n- [Usage](#usage)\n- [Development](#compiles-and-hot-reloads-for-development)\n- [License](#license)\n\n## Installation\n``` bash\nnpm install @jambonn/vue-next-progressbar\n```\n\nor if you prefer yarn\n\n``` bash\nyarn add @jambonn/vue-next-progressbar\n```\n\n## Usage\n### Global\nYou may install Vue next progressbar globally:\n```js\nimport { createApp } from 'vue';\nimport { createRouter, createWebHistory } from 'vue-router';\nimport VueNextProgressbar from '@jambonn/vue-next-progressbar';\nimport App from './App.vue';\n\nconst app = createApp(App);\napp.use(createRouter({\n    history: createWebHistory(),\n    routes: [],\n}));\napp.use(VueNextProgressbar, { router: true });\napp.mount('#app');\n```\n### Use in component\nWhen install global Vue next progressbar, you can control progress in component\n```vue\n\u003ctemplate\u003e\n  \u003cbutton type=\"button\" @click=\"progressBar.start()\"\u003eShows the progress bar\u003c/button\u003e\n  \u003cbutton type=\"button\" @click=\"progressBar.done()\"\u003eCompletes the progress\u003c/button\u003e\n\u003c/template\u003e\n\u003cscript\u003e\nimport { getCurrentInstance, inject } from 'vue';\nexport default {\n  setup() {\n    // Get from global properties\n    const app = getCurrentInstance();\n    const progressBar = app.appContext.config.globalProperties.$Progressbar;\n\n    // Get from provide\n    const injectProgressBar = inject('Progressbar');\n    return { progressBar, injectProgressBar }\n  }\n}\n\u003c/script\u003e\n```\n\n### Control progress\nSimply call start() and done() to control the Vue next progress bar.\n```js\nimport { VueProgressbar } from '@jambonn/vue-next-progressbar';\nVueProgressbar.start();\nVueProgressbar.done();\n```\n\n### Configuration\n#### `trickleSpeed`\nAdjust how often to trickle/increment, in ms.\n```js\nimport { createApp } from 'vue';\nimport VueNextProgressbar from '@jambonn/vue-next-progressbar';\nimport App from './App.vue';\n\nconst app = createApp(App);\nconst options = {\n  trickleSpeed: 500, // default: 800\n};\napp.use(VueNextProgressbar, options);\n```\n\n### Compiles and hot-reloads for development\n``` bash\nyarn install\nyarn dev\n```\nthen navigate to `http://localhost:8080`\n\n### Compiles and minifies for production\n```\nyarn build\n```\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjambonn%2Fvue-next-progressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjambonn%2Fvue-next-progressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjambonn%2Fvue-next-progressbar/lists"}