{"id":16417088,"url":"https://github.com/zuramai/rolloc","last_synced_at":"2025-10-26T20:30:19.332Z","repository":{"id":65522307,"uuid":"479874690","full_name":"zuramai/rolloc","owner":"zuramai","description":"Create your own roll spinner with Rolloc.js","archived":false,"fork":false,"pushed_at":"2022-05-03T04:43:56.000Z","size":99,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T23:15:58.300Z","etag":null,"topics":["roller","spinner"],"latest_commit_sha":null,"homepage":"https://zuramai.github.io/rolloc","language":"TypeScript","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/zuramai.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-04-10T00:23:07.000Z","updated_at":"2024-04-19T07:19:55.000Z","dependencies_parsed_at":"2023-01-27T05:45:31.292Z","dependency_job_id":null,"html_url":"https://github.com/zuramai/rolloc","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuramai%2Frolloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuramai%2Frolloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuramai%2Frolloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuramai%2Frolloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuramai","download_url":"https://codeload.github.com/zuramai/rolloc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238394323,"owners_count":19464583,"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":["roller","spinner"],"created_at":"2024-10-11T07:10:59.489Z","updated_at":"2025-10-26T20:30:18.941Z","avatar_url":"https://github.com/zuramai.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rolloc\nA Javascript library to create spin roller. [Open demo](https://zuramai.github.io/rolloc/).\n\n## Installation\n1. Install\n```bash\nnpm install rolloc # or yarn/pnpm\n```\n\n## Basic Usage\nHTML:\n```html\n\u003cdiv id=\"roller\"\u003e\u003c/div\u003e\n```\nJS:\n```js\nimport { createRolloc } from \"rolloc\"\n\nconst options = {\n    size: {\n        height: 400,\n        width: 400\n    },\n    // The roll default options\n    rollOptions: {\n        duration: 5000\n    }\n}\n\nconst rolloc = createRolloc(\"#roller\", options)\n\n// Roll and override the default rollOptions\nrolloc.roll({ \n    duration: ~~input.value \n})\n```\n\n## Running the demo locally\n```bash\ngit clone https://github.com/zuramai/rolloc.git\ncd rolloc\npnpm install -r\n\n# Run the js\npnpm run js:dev\n\n# And run the demo site (vite)\npnpm run dev\n```\n\n## Contributing\n1. Fork this repository\n2. Make a change and commit to the forked repository\n3. Make a pull request to this repository\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuramai%2Frolloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuramai%2Frolloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuramai%2Frolloc/lists"}