{"id":15043855,"url":"https://github.com/greg-peters/native-screen-js","last_synced_at":"2026-02-09T12:01:36.687Z","repository":{"id":57308315,"uuid":"337096520","full_name":"greg-peters/native-screen-js","owner":"greg-peters","description":"Build compelling NodeJS applications that integrate natively with multi-monitor support.","archived":false,"fork":false,"pushed_at":"2024-01-17T20:35:20.000Z","size":28,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T03:13:14.916Z","etag":null,"topics":["display","electron","electronjs","monitor","native","nodejs","screen"],"latest_commit_sha":null,"homepage":"","language":"C","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/greg-peters.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["greg-peters"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-02-08T14:08:12.000Z","updated_at":"2024-01-17T19:59:06.000Z","dependencies_parsed_at":"2024-09-25T02:02:06.167Z","dependency_job_id":null,"html_url":"https://github.com/greg-peters/native-screen-js","commit_stats":null,"previous_names":["greg-peters/screen-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-peters%2Fnative-screen-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-peters%2Fnative-screen-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-peters%2Fnative-screen-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greg-peters%2Fnative-screen-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greg-peters","download_url":"https://codeload.github.com/greg-peters/native-screen-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240131746,"owners_count":19752727,"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":["display","electron","electronjs","monitor","native","nodejs","screen"],"created_at":"2024-09-24T20:49:42.824Z","updated_at":"2026-02-09T12:01:36.583Z","avatar_url":"https://github.com/greg-peters.png","language":"C","funding_links":["https://github.com/sponsors/greg-peters"],"categories":[],"sub_categories":[],"readme":"This project is designed to be a cross platform NodeJS display solution that supports multiple displays.\n\n\u003cul\u003e \n  \u003cli\u003eGoal 1: Develop cross platform display api to query multiple physical displays\u003c/li\u003e\n  \u003cli\u003eGoal 2: Detect which display currently has focus\u003c/li\u003e\n  \u003cli\u003eGoal 3: Screen capture support for active display\u003c/li\u003e\n\u003c/ul\u003e\n\n## Supported Platforms\n\u003cul\u003e\n  \u003cli\u003e\u003cimg src='https://icons.iconarchive.com/icons/icons8/windows-8/24/Systems-Mac-Os-icon.png'\u003e Mac OSX 10.5+\u003c/li\u003e\n  \u003cli\u003e\u003cimg src='https://icons.iconarchive.com/icons/tatice/operating-systems/24/Windows-icon.png'\u003e Windows 2000 or later\u003c/li\u003e\n  \u003cli\u003e\u003cimg src='https://icons.iconarchive.com/icons/dakirby309/simply-styled/24/OS-Linux-icon.png'\u003e Linux 2.7+ (New* Main display only)\u003c/li\u003e\n\u003c/ul\u003e\n\n## Requirements\nInstall Yarn\u003cbr/\u003e\n`npm install yarn -g`\u003cbr/\u003e\u003cbr/\u003e\nCompile\u003cbr/\u003e\n`yarn`\u003cbr/\u003e\u003cbr/\u003e\nRun Demo\u003cbr/\u003e\n`node test.js`\u003cbr/\u003e\u003cbr/\u003e\n\n## Usage\n```\nconst screen = require('native-screen-js');\nconsole.log(screen.getDisplayInfo());\n```\n\n## Output\n```\n{\n  \"displayCount\": 1,\n  \"screens\": [\n    {\n      \"modelNumber\": 43298, \u003c--- OSX Only\n      \"isBuiltIn\": 1,\n      \"isMainDisplay\": 1,\n      \"width\": 1440,\n      \"height\": 900,\n      \"x\": 0,  \u003c--- Top left corner of display in virtual space\n      \"y\": 0,  \u003c--- Top left corner of display in virtual space\n      \"rotation\": 0 \u003c--- OSX Only\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreg-peters%2Fnative-screen-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreg-peters%2Fnative-screen-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreg-peters%2Fnative-screen-js/lists"}