{"id":17238087,"url":"https://github.com/jsantell/rotate","last_synced_at":"2025-08-30T05:06:09.559Z","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":3,"default_branch":"master","last_synced_at":"2025-01-30T23:36:10.366Z","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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245573893,"owners_count":20637674,"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-15T05:44:37.781Z","updated_at":"2025-03-26T02:16:18.528Z","avatar_url":"https://github.com/jsantell.png","language":"JavaScript","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","funding_links":[],"categories":[],"sub_categories":[],"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"}