{"id":16713623,"url":"https://github.com/astronomersiva/rotate-image","last_synced_at":"2025-03-15T05:26:39.194Z","repository":{"id":57099387,"uuid":"130887245","full_name":"astronomersiva/rotate-image","owner":"astronomersiva","description":"Rotates an image by n degrees using node-canvas.","archived":false,"fork":false,"pushed_at":"2018-05-08T19:08:49.000Z","size":1819,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T03:16:09.230Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astronomersiva.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":"2018-04-24T17:00:38.000Z","updated_at":"2018-11-21T09:30:57.000Z","dependencies_parsed_at":"2022-08-20T19:10:46.577Z","dependency_job_id":null,"html_url":"https://github.com/astronomersiva/rotate-image","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/astronomersiva%2Frotate-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astronomersiva%2Frotate-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astronomersiva%2Frotate-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astronomersiva%2Frotate-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astronomersiva","download_url":"https://codeload.github.com/astronomersiva/rotate-image/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243689638,"owners_count":20331721,"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-12T20:47:31.010Z","updated_at":"2025-03-15T05:26:39.165Z","avatar_url":"https://github.com/astronomersiva.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rotate-image ![Travis Build Status](https://travis-ci.org/astronomersiva/rotate-image.svg?branch=master)\n\nRotates a given image by n degrees with node-canvas.\n\n### Install\n\n* Run `npm install -g @astronomersiva/rotate-image`.\n\n### Usage\n\n* `dest` is optional. Defaults to `rotated-${src}`.\n\n```\n(async () =\u003e {\n  const rotate = require('rotate-image');\n  const options = {\n    src: 'hello.png',\n    dest: 'rotated.png',\n    rotation: 60\n  };\n\n  await rotate(options);\n})();\n```\n\n### Screenshots\n\nBefore Rotation\n![Before](sample.png)\n\nAfter Rotation\n![After](rotated-sample.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastronomersiva%2Frotate-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastronomersiva%2Frotate-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastronomersiva%2Frotate-image/lists"}