{"id":17238087,"url":"https://github.com/jsantell/rotate","last_synced_at":"2026-07-04T14:32:27.391Z","repository":{"id":6586936,"uuid":"7829376","full_name":"jsantell/rotate","owner":"jsantell","description":"UI component for CSS3 rotations","archived":false,"fork":false,"pushed_at":"2013-01-25T23:00:59.000Z","size":112,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-30T05:36:49.394Z","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/jsantell.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":"2013-01-25T22:01:36.000Z","updated_at":"2018-03-27T13:09:03.000Z","dependencies_parsed_at":"2022-09-10T16:30:31.163Z","dependency_job_id":null,"html_url":"https://github.com/jsantell/rotate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsantell/rotate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsantell%2Frotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsantell%2Frotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsantell%2Frotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsantell%2Frotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsantell","download_url":"https://codeload.github.com/jsantell/rotate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsantell%2Frotate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35125718,"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-07-04T02:00:05.987Z","response_time":113,"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-10-15T05:44:37.781Z","updated_at":"2026-07-04T14:32:27.371Z","avatar_url":"https://github.com/jsantell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"rotate\n====\n\nUI component for CSS3 rotations for use with [component](https://github.com/component/component). Works in Chrome, Firefox, Opera, Safari, IE9+\n\n## Installation\n\n```\ncomponent install jsantell/rotate\n```\n\n## API\n\n### rotate(el, deg)\n\n`rotate` is just a function that takes an element and rotation value (in degrees) and rotates that element.\n\n## Example\n\n```js\nvar rotate = require('rotate');\nvar el = document.getElementById('someDiv');\n\nrotate(el, 120); // rotate el by 120 degrees\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsantell%2Frotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsantell%2Frotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsantell%2Frotate/lists"}