{"id":19142232,"url":"https://github.com/eldoy/spinn","last_synced_at":"2026-06-04T16:31:12.252Z","repository":{"id":65231814,"uuid":"588096318","full_name":"eldoy/spinn","owner":"eldoy","description":"SVG spinner loader","archived":false,"fork":false,"pushed_at":"2023-01-12T10:55:59.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-31T07:28:36.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/eldoy.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":"2023-01-12T10:11:57.000Z","updated_at":"2024-12-27T03:08:48.000Z","dependencies_parsed_at":"2023-01-15T18:01:03.016Z","dependency_job_id":null,"html_url":"https://github.com/eldoy/spinn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eldoy/spinn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fspinn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fspinn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fspinn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fspinn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eldoy","download_url":"https://codeload.github.com/eldoy/spinn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldoy%2Fspinn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33914543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-09T07:26:24.943Z","updated_at":"2026-06-04T16:31:12.182Z","avatar_url":"https://github.com/eldoy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spinn\n\nSVG spinner loader. Very cool animated spinner with settings:\n\n* Color\n* Background color\n* Size\n\nCreated by [Eldøy Projects \u0026rarr;](https://eldoy.com)\n\n### Install\n```\nnpm i spinn\n```\n\n### Usage\n\n**Server side rendered**\n\nRequire lib:\n```js\nconst spinn = require('spinn')\n```\n\nInclude on web page:\n```\n\u003cscript\u003e${spinn}\u003c/spinn\u003e\n```\n\n**Client side rendered**\n\nInclude `dist/spinn-min.js`:\n\n```html\n\u003cscript src=\"spinn-min.js\"\u003e\u003c/script\u003e\n```\n\nCreate an element where the spinner should appear:\n\n```\n\u003cspinn\u003e\u003c/spinn\u003e\n```\n\nUse on page, include in `\u003cscript\u003e` tag:\n```js\n// Create spinner, showing default options\nvar spinner = spinn({\n  // Where to insert the spinner\n  el: 'spinn',\n\n  // The color of the spinner\n  color: 'tomato',\n\n  // Background color\n  bg: 'transparent',\n\n  // Size in pixels (width and height)\n  size: 20\n})\n\n// Start spinner\nspinner.start()\n\n// Stop spinner\nspinner.stop()\n\n// Stop spinner via element\nspin({ el: 'spin' }).stop()\n\n// Short cut, using default options\nvar spinner = spinn().start()\n\n// Stop after 5 seconds\nsetTimeout(spinner.stop, 5000)\n```\n\nMIT Licensed. Enjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldoy%2Fspinn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feldoy%2Fspinn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldoy%2Fspinn/lists"}