{"id":13671158,"url":"https://github.com/bendrucker/screen-orientation","last_synced_at":"2025-10-19T17:06:36.298Z","repository":{"id":46442023,"uuid":"41322848","full_name":"bendrucker/screen-orientation","owner":"bendrucker","description":"Get the current screen orientation","archived":false,"fork":false,"pushed_at":"2021-10-12T14:50:28.000Z","size":9,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-25T08:56:28.982Z","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/bendrucker.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":"2015-08-24T19:30:21.000Z","updated_at":"2021-12-22T15:12:21.000Z","dependencies_parsed_at":"2022-08-28T16:51:29.889Z","dependency_job_id":null,"html_url":"https://github.com/bendrucker/screen-orientation","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bendrucker/screen-orientation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fscreen-orientation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fscreen-orientation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fscreen-orientation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fscreen-orientation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendrucker","download_url":"https://codeload.github.com/bendrucker/screen-orientation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fscreen-orientation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267639569,"owners_count":24119780,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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-08-02T09:01:01.070Z","updated_at":"2025-10-19T17:06:36.208Z","avatar_url":"https://github.com/bendrucker.png","language":"JavaScript","readme":"# screen-orientation [![Build Status](https://travis-ci.org/bendrucker/screen-orientation.svg?branch=master)](https://travis-ci.org/bendrucker/screen-orientation) [![Greenkeeper badge](https://badges.greenkeeper.io/bendrucker/screen-orientation.svg)](https://greenkeeper.io/)\n\n\u003e Get the current screen orientation\n\n\n## Install\n\n```\n$ npm install --save screen-orientation\n```\n\n\n## Usage\n\n```js\nvar screenOrientation = require('screen-orientation')\n\nscreenOrientation()\n//=\u003e {direction: 'landscape', version: 'primary'}\n```\n\n## API\n\n#### `screenOrientation()` -\u003e `object`\n\nReturns the current screen orientation (direction and version).\n\n## License\n\nMIT © [Ben Drucker](http://bendrucker.me)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fscreen-orientation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendrucker%2Fscreen-orientation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fscreen-orientation/lists"}