{"id":16359718,"url":"https://github.com/jmsv/pastille","last_synced_at":"2025-03-23T01:32:29.598Z","repository":{"id":35063649,"uuid":"202359467","full_name":"jmsv/pastille","owner":"jmsv","description":"A percentage indicator chart thing for Angular","archived":false,"fork":false,"pushed_at":"2023-01-07T08:43:14.000Z","size":2039,"stargazers_count":3,"open_issues_count":14,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-25T21:24:20.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/pastille","language":"TypeScript","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/jmsv.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":"2019-08-14T13:46:04.000Z","updated_at":"2023-03-05T08:46:01.000Z","dependencies_parsed_at":"2023-01-15T13:03:15.378Z","dependency_job_id":null,"html_url":"https://github.com/jmsv/pastille","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fpastille","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fpastille/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fpastille/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsv%2Fpastille/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmsv","download_url":"https://codeload.github.com/jmsv/pastille/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221842108,"owners_count":16890109,"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-11T02:09:30.086Z","updated_at":"2024-10-28T14:44:07.410Z","avatar_url":"https://github.com/jmsv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pastille\n\n[![Pastille build CI status](https://github.com/jmsv/pastille/workflows/Pastille%20build%20CI/badge.svg)](https://github.com/jmsv/pastille/actions)\n\nA percentage indicator chart thing for Angular\n\n![pastille](https://user-images.githubusercontent.com/14852491/63027254-86621680-bea4-11e9-880e-518b5fb32f81.gif)\n\n## Usage\n\nIn your module:\n\n```js\nimport { PastilleModule } from 'pastille';\n\n@NgModule({\n  ...\n  imports: [\n    ...\n    PastilleModule\n    ...\n  ],\n  ...  \n})\n```\n\nIn your template:\n\n```html\n\u003clib-pastille [data]=\"data\"\u003e\u003c/lib-pastille\u003e\n```\n\nWhere `data` is in the following format:\n\n```js\ndata = [{\n  name: 'Downloaded',\n  value: 50,\n  color: '#8bc34a'\n}, {\n  name: 'Failed',\n  value: 30,\n  color: '#f44336'\n}, {\n  name: 'Not downloaded',\n  value: 20,\n  color: '#cfd8dc'\n}]\n```\n\n## Development\n\n`npm start` runs the example app on `localhost:1337`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmsv%2Fpastille","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmsv%2Fpastille","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmsv%2Fpastille/lists"}