{"id":23053374,"url":"https://github.com/component/piecon","last_synced_at":"2025-08-15T03:32:35.266Z","repository":{"id":4742687,"uuid":"5892115","full_name":"component/piecon","owner":"component","description":"Pie favicons -- great for upload progress etc","archived":false,"fork":false,"pushed_at":"2015-03-16T21:12:49.000Z","size":122,"stargazers_count":34,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-13T00:44:49.887Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/component.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-20T19:54:35.000Z","updated_at":"2022-10-21T02:25:45.000Z","dependencies_parsed_at":"2022-08-26T07:10:54.107Z","dependency_job_id":null,"html_url":"https://github.com/component/piecon","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fpiecon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fpiecon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fpiecon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component%2Fpiecon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/component","download_url":"https://codeload.github.com/component/piecon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229890280,"owners_count":18140069,"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-12-16T00:17:51.566Z","updated_at":"2024-12-16T00:17:52.100Z","avatar_url":"https://github.com/component.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# piecon\n\n  Pie charts for [component/favicon](https://github.com/component/favicon)\n  inspired by the original [piecon](https://github.com/lipka/piecon). Styled\n  with CSS!\n\n  ![js pie favicons](http://f.cl.ly/items/3T2g1b2w1j2t3e3A1Y3r/Screen%20Shot%202012-09-20%20at%2012.55.50%20PM.png)\n\n## Installation\n\n    $ component install component/piecon\n\n## Styling\n\n  Piecon utilizes [component/style](https://github.com/component/style)\n  to enable CSS styling for Canvas rasters. For example the default\n  style is:\n\n```css\n.pie {\n  color: #EC4E89;\n  background: #bbb;\n  border: 2px solid white;\n}\n```\n\n## API\n\n### new Piecon([selector])\n\n  Initialize a new `Piecon` with optional CSS `selector` used\n  for styling, this defaults to \".pie\".\n\n### Piecon#update(n)\n\n  Update the percentage to `n`, this will automatically\n  draw the pie and replace the favicon.\n\n### Piecon#size(n)\n\n  Set the diameter to `n`.\n\n### Piecon#reset()\n\n  Reset favicon.\n\n# License\n\n  MIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fpiecon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomponent%2Fpiecon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent%2Fpiecon/lists"}