{"id":24189270,"url":"https://github.com/hash-bang/async-chainable-progress","last_synced_at":"2025-10-04T20:10:43.628Z","repository":{"id":31036490,"uuid":"34595096","full_name":"hash-bang/async-chainable-progress","owner":"hash-bang","description":"Plugin for async-chainable that adds progress reporting","archived":false,"fork":false,"pushed_at":"2016-10-25T02:43:09.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-22T15:18:21.499Z","etag":null,"topics":["async-chainable","javascript"],"latest_commit_sha":null,"homepage":null,"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/hash-bang.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":"2015-04-26T02:40:34.000Z","updated_at":"2016-12-30T10:00:16.000Z","dependencies_parsed_at":"2022-09-06T04:02:19.282Z","dependency_job_id":null,"html_url":"https://github.com/hash-bang/async-chainable-progress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hash-bang/async-chainable-progress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hash-bang%2Fasync-chainable-progress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hash-bang%2Fasync-chainable-progress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hash-bang%2Fasync-chainable-progress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hash-bang%2Fasync-chainable-progress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hash-bang","download_url":"https://codeload.github.com/hash-bang/async-chainable-progress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hash-bang%2Fasync-chainable-progress/sbom","scorecard":{"id":456838,"data":{"date":"2025-08-11","repo":{"name":"github.com/hash-bang/async-chainable-progress","commit":"bf5d3be16a93715b4120ff8a45c7dc44764c4a1d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T09:55:52.339Z","repository_id":31036490,"created_at":"2025-08-19T09:55:52.339Z","updated_at":"2025-08-19T09:55:52.339Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278366664,"owners_count":25975095,"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-10-04T02:00:05.491Z","response_time":63,"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":["async-chainable","javascript"],"created_at":"2025-01-13T14:24:11.023Z","updated_at":"2025-10-04T20:10:43.591Z","avatar_url":"https://github.com/hash-bang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"async-chainable-progress\n========================\nPlugin for [async-chainable](https://github.com/hash-bang/async-chainable) that adds progress bars, spinners and other widgets.\n\n\n\tvar asyncChainable = require('async-chainable');\n\tvar asyncChainableProgress = require('async-chainable-progress');\n\n\t// Display a manually updated progress bar\n\tasyncChainable()\n\t\t.use(asyncChainableProgress)\n\t\t.progress()\n\t\t.then(function(next) { setTimeout(next, 1000) })\n\t\t.progress(50)\n\t\t.then(function(next) { setTimeout(next, 1000) })\n\t\t.progress(100)\n\t\t.then(function(next) { setTimeout(next, 1000) })\n\t\t.progressComplete() // Remove the progress bars\n\t\t.end();\n\n\n\t// Display a labeled progress bar and update it within a complex operation\n\tasyncChainable()\n\t\t.use(asyncChainableProgress)\n\t\t.progress(null, 'Doing things')\n\t\t.then(function(next) {\n\t\t\t// Assume a really time consuming process\n\t\t\tfor (var p = 0; p \u003c 100; p++) {\n\t\t\t\tthis.setProgress(p);\n\t\t\t}\n\t\t})\n\t\t.progressComplete()\n\t\t.end();\n\n\n\t// Display a list of current actions where each action has a progress bar and gets ticked off on completion\n\tasyncChainable()\n\t\t.use(asyncChainableProgress)\n\t\t.progress(null, 'Doing things 1')\n\t\t.then(function(next) {\n\t\t\t// Assume a really time consuming process\n\t\t\tfor (var p = 0; p \u003c 100; p++) {\n\t\t\t\tthis.setProgress(p);\n\t\t\t}\n\t\t})\n\t\t.progressComplete()\n\t\t.tick('Doing things 1')\n\t\t.progress(null, 'Doing things 2')\n\t\t.then(function(next) {\n\t\t\t// Assume a really time consuming process\n\t\t\tfor (var p = 0; p \u003c 100; p++) {\n\t\t\t\tthis.setProgress(p);\n\t\t\t}\n\t\t})\n\t\t.progressComplete()\n\t\t.tick('Doing things 2')\n\t\t.end();\n\n\nSee the [examples folder](examples) for more examples.\n\n\nFunction reference\n==================\nasync-chainable-progress extends async-chainable in with the following functions.\n\n.progress()\n-----------\nCreate or update a progress bar.\n\n\tprogress() // Create an anonymous unlabeled progress bar\n\tprogress(String \u003cid\u003e) // Create an ID'd progress bar\n\tprogress(String \u003cid\u003e, String \u003ctext\u003e) // Create a ID'd and labeled progress bar\n\tprogress(Null, String \u003ctext\u003e) // Create a labeled progress bar\n\tprogress(Number \u003cprogress\u003e) // Update the anonymous (non ID'd) progress bar progress\n\tprogress(String \u003cid\u003e, Number \u003cprogress\u003e) // Update the anonymous (non ID'd) progress bar progress\n\tprogress(String \u003cid\u003e, Number \u003cprogress\u003e, Number \u003cmax_progress\u003e) // As above but also set the max progress (otherwise `100` is assumed)\n\nIf no ID parameter is specified 'anonBar' is assumed automatically.\n\n\n.spinner()\n----------\nCreate or update a spinner - useful for when specific progress is unknown.\n\n\tspinner() // Create an anonymous unlabled spinner\n\tspinner(String \u003cid\u003e) // Create an ID'd spinner\n\tspinner(String \u003cid\u003e, String \u003ctext\u003e) // Create a ID'd and labeled progress bar\n\tspinner(Null, String \u003ctext\u003e) // Create a labeled spinner\n\nIf no id parameter is specified 'anonSpinner' is assumed automatically.\n\n\n.tick()\n-------\nAdd a tick mark to the console output to signify that a task has completed.\n\n\ttick(String \u003ctext\u003e) // Create a tick with the specific text\n\ttick(String \u003ctext\u003e, String \u003cstatus\u003e) // Create a tick with the specific text and a custom status.\n\t\nValid tick statuses are: 'ok', 'fail', 'pending' or any others listed in `this._progressDefaults.tick`.\n\n\n.progressDefaults()\n-------------------\nOverride the default options when creating progress bars / spinners or other widgets.\n\n\tprogressDefaults(Object) // Append the specified options into the default object\n\nSee the `this._progressDefaults` object for more details on the structure of this object.\n\n\n.progressComplete()\n-------------------\nIndicate that either all or a specific progress action has completed and that its widget should be removed from the output.\n\n\tprogressComplete() // Remove all widgets\n\tprogressComplete(String \u003cid\u003e) // Remove a specific single widget\n\tprogressComplete(Array \u003cids\u003e) // Remove all specified widgets\n\n\n.setProgress()\n--------------\nUsed within the `this` object to update progress while within a async-chainable task.\n\n\tthis.setProgress() // Redraw all widgets - includes moving spinners on by a frame\n\tthis.setProgress(Number \u003cprogress\u003e) // Update the 'anonBar' progress item to the specified progress\n\tthis.setProgress(Number \u003cprogress\u003e, Number \u003cmax_progress\u003e) // As above but also set the max progress (otherwise `100` is assumed)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhash-bang%2Fasync-chainable-progress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhash-bang%2Fasync-chainable-progress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhash-bang%2Fasync-chainable-progress/lists"}