{"id":24041661,"url":"https://github.com/oledid-js/turn-off-display","last_synced_at":"2025-04-19T19:51:28.583Z","repository":{"id":57382329,"uuid":"80940276","full_name":"oledid-js/turn-off-display","owner":"oledid-js","description":"Turn off the display from node","archived":false,"fork":false,"pushed_at":"2020-06-29T09:04:03.000Z","size":9,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T04:07:10.167Z","etag":null,"topics":["api","display","node","nodejs","winapi","windows-api"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/turn-off-display","language":"PowerShell","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/oledid-js.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":"2017-02-04T18:48:18.000Z","updated_at":"2021-09-12T16:44:42.000Z","dependencies_parsed_at":"2022-09-26T16:50:19.434Z","dependency_job_id":null,"html_url":"https://github.com/oledid-js/turn-off-display","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oledid-js%2Fturn-off-display","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oledid-js%2Fturn-off-display/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oledid-js%2Fturn-off-display/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oledid-js%2Fturn-off-display/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oledid-js","download_url":"https://codeload.github.com/oledid-js/turn-off-display/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233105626,"owners_count":18625866,"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":["api","display","node","nodejs","winapi","windows-api"],"created_at":"2025-01-08T22:11:50.715Z","updated_at":"2025-01-08T22:11:51.477Z","avatar_url":"https://github.com/oledid-js.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# turn-off-display [![npm](https://img.shields.io/npm/dt/turn-off-display.svg)](https://www.npmjs.com/package/turn-off-display) [![npm](https://img.shields.io/npm/v/turn-off-display.svg)](https://www.npmjs.com/package/turn-off-display)\n\nTurns off the computer monitor/display/screen.\n\n\n## Supported operating systems\n\nThis package only supports Windows and OS X \u003e= 10.9 for now.\nIf you want to add support for another operating system, please submit a pull-request.\n\n\n## How to install\n```\nnpm install --save turn-off-display\n```\n\n\n## How to use\n```js\nvar turnOffDisplay = require(\"turn-off-display\");\ntry {\n\tturnOffDisplay();\n}\ncatch (err) {\n\t// handle error\n}\n```\n\n\n## Related\n* [oledid-js/turn-off-display-cli](https://github.com/oledid-js/turn-off-display-cli) - CLI for this module\n\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foledid-js%2Fturn-off-display","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foledid-js%2Fturn-off-display","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foledid-js%2Fturn-off-display/lists"}