{"id":17795690,"url":"https://github.com/marinko-peso/rating-custom-element","last_synced_at":"2025-04-02T02:29:14.009Z","repository":{"id":92784781,"uuid":"148285781","full_name":"marinko-peso/rating-custom-element","owner":"marinko-peso","description":":snowboarder: Rating Custom Element","archived":false,"fork":false,"pushed_at":"2018-10-09T06:22:59.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T12:57:06.933Z","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/marinko-peso.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-11T08:31:04.000Z","updated_at":"2023-03-07T11:12:47.000Z","dependencies_parsed_at":"2023-03-13T17:25:40.535Z","dependency_job_id":null,"html_url":"https://github.com/marinko-peso/rating-custom-element","commit_stats":{"total_commits":24,"total_committers":2,"mean_commits":12.0,"dds":"0.16666666666666663","last_synced_commit":"c0286f3f6af8b8c17def76553576941a1f109e74"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinko-peso%2Frating-custom-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinko-peso%2Frating-custom-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinko-peso%2Frating-custom-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marinko-peso%2Frating-custom-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marinko-peso","download_url":"https://codeload.github.com/marinko-peso/rating-custom-element/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246743257,"owners_count":20826499,"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-27T11:37:15.026Z","updated_at":"2025-04-02T02:29:13.977Z","avatar_url":"https://github.com/marinko-peso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rating-custom-element\n[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)\n[![license](https://img.shields.io/github/license/marinko-peso/rating-custom-element.svg)](https://github.com/marinko-peso/rating-custom-element/blob/master/LICENSE)\n[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg)](https://github.com/Flet/semistandard)\n[![package version](https://img.shields.io/npm/v/rating-custom-element.svg)](https://npm.im/rating-custom-element)\n[![install size](https://packagephobia.now.sh/badge?p=rating-custom-element)](https://packagephobia.now.sh/result?p=rating-custom-element)\n[![dependecies](https://david-dm.org/marinko-peso/rating-custom-element.svg)](https://david-dm.org/marinko-peso/rating-custom-element)\n\n:snowboarder: Rating Custom Element\n\n\nIntended as plug and play HTML element to enable custom rating. Styling is left completely to the end user. For in-browser usage.\n\nView [demo](https://htmlpreview.github.io/?https://github.com/marinko-peso/rating-custom-element/blob/master/demo/index.html).\n\n\n\n## Installation\n\nAvailable via npm:\n```\nnpm i rating-custom-element\n```\n\n\n\n## Usage\n\nInclude ```rating-element.js``` to your html or ```import \"rating-custom-element\"``` if installed via npm.\nAdd ```x-rating-element``` html element to your dom on the place where you wish to have a rating element.\nOptions:\n* value - initial value [default: 0]\n* number - number of rating elements [default: 5]\n* default-class - class name for rank elements [default: x-rating]\n* marked-class - class name added to selected rank elements [default: x-marked]\n\n\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarinko-peso%2Frating-custom-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarinko-peso%2Frating-custom-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarinko-peso%2Frating-custom-element/lists"}