{"id":15361541,"url":"https://github.com/jonathanong/baaar","last_synced_at":"2025-04-15T00:08:12.346Z","repository":{"id":58218295,"uuid":"20325679","full_name":"jonathanong/baaar","owner":"jonathanong","description":"a colorful top loading progress bar","archived":false,"fork":false,"pushed_at":"2014-05-30T10:19:11.000Z","size":108,"stargazers_count":24,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-15T00:07:53.820Z","etag":null,"topics":[],"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/jonathanong.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":"2014-05-30T10:19:04.000Z","updated_at":"2015-11-22T14:26:10.000Z","dependencies_parsed_at":"2022-08-31T00:12:15.729Z","dependency_job_id":null,"html_url":"https://github.com/jonathanong/baaar","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/jonathanong%2Fbaaar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanong%2Fbaaar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanong%2Fbaaar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanong%2Fbaaar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanong","download_url":"https://codeload.github.com/jonathanong/baaar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981267,"owners_count":21193147,"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":[],"created_at":"2024-10-01T12:55:34.069Z","updated_at":"2025-04-15T00:08:12.326Z","avatar_url":"https://github.com/jonathanong.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Baaar\n\nA lightweight progress bar for loading pages.\nSimilar to [nanobar](http://nanobar.micronube.com) except:\n\n- Supports colors!\n- Uses 2D transforms\n- A component\n\nDemo: https://cdn.rawgit.com/component/baaar/master/demo.html\n\n## API\n\n### var bar = new Baaar([target])\n\nOptional `target`, otherwise the element is appended to the body.\n\n### bar.set([percent], [color])\n\nSet a `percent` between `0` and `100` or set a color as a `String`.\nIf the bar has not been created, creates a bar.\n\n```js\nvar bar = new Baaar()\n\n// initializes the bar\nbar.set(1, 'red')\nbar.outie.id = 'something-unique'\n```\n\n### bar.destroy()\n\nFades the bar out and removes the element from the DOM.\n\n### bar.outie, bar.innie\n\nThe elements, if they exist.\nIf they don't exist, use `.set()` and they will be created.\n\n## Extending\n\nThe default styles are in `defaults.css`.\nYou should probably override them.\n\n## Browser Support\n\nIE9+.\nShould work with older browsers if you use polyfills for the following:\n\n- `Array.prototype.forEach()`\n- `requestAnimationFrame()`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanong%2Fbaaar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanong%2Fbaaar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanong%2Fbaaar/lists"}