{"id":26684549,"url":"https://github.com/deno-sandbox/bar","last_synced_at":"2026-05-02T05:04:52.057Z","repository":{"id":62422538,"uuid":"458757940","full_name":"Deno-Sandbox/bar","owner":"Deno-Sandbox","description":"Create loading bar with DENO","archived":false,"fork":false,"pushed_at":"2022-02-13T09:14:21.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T20:56:25.015Z","etag":null,"topics":["deno"],"latest_commit_sha":null,"homepage":"https://deno.land/x/bar","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Deno-Sandbox.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":"2022-02-13T08:59:52.000Z","updated_at":"2022-04-24T06:48:10.000Z","dependencies_parsed_at":"2022-11-01T17:31:32.576Z","dependency_job_id":null,"html_url":"https://github.com/Deno-Sandbox/bar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deno-Sandbox%2Fbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deno-Sandbox%2Fbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deno-Sandbox%2Fbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deno-Sandbox%2Fbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deno-Sandbox","download_url":"https://codeload.github.com/Deno-Sandbox/bar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245626001,"owners_count":20646278,"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":["deno"],"created_at":"2025-03-26T09:31:51.118Z","updated_at":"2026-05-02T05:04:52.029Z","avatar_url":"https://github.com/Deno-Sandbox.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bar\n\nCreate bar with deno\n\n# Use\n```ts\nimport { textAnimation } from \"https://deno.land/x/bar/mod.ts\";\nconst _ta = new textAnimation();\n```\n\n## Counter\n### Only counter\ncount 1-10 | interval : 100ms\n```ts\nawait _ta.count(10, 100);\n```\n\n### Counter + Text\ncount 1-10 | interval : 100ms | Text: Hello World\n```ts\nawait _ta.count(10, 100, \"Hello World\");\n```\n\n## Bar\n\n## Simple bar: \ncount 1-10 | interval : 100ms\n```ts\nawait _ta.bar(10, 100);\n```\n## Bar + text\ncount 1-10 | interval : 100ms | Text: Love you\n```ts\n_ta.barWithListener(10, \"bar\", \"Love you\");\n```\n\n## Bar dynamic\nThis bar is a progess bar where your can call the \"next\" step yourself. This bar support Pre-text integration\u003cbr\u003e\ncount: 10 | barName | Text\n```ts\n_ta.barWithListener(10, \"bar\", \"Love you\");\n```\n\u003e DO NOT USE AWAIT FOR THIS BAR !\n\nOk so at this step we have a 10 sections empty bar, now we wanna enable next point:\n```ts\n_ta.next(\"bar\")\n[.. Do something instresting]\n_ta.next(\"bar\")\n[..]\n```\nAND NOW 10 is to much and you need to end this bar, use: \n```ts\n_ta.forceEnd(\"bar\");\n```\n\n\n# Thanks\nAlice :3\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeno-sandbox%2Fbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeno-sandbox%2Fbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeno-sandbox%2Fbar/lists"}