{"id":13749119,"url":"https://github.com/uiur/node-screencapture","last_synced_at":"2025-03-21T10:31:57.866Z","repository":{"id":17255610,"uuid":"20025100","full_name":"uiur/node-screencapture","owner":"uiur","description":"Take a screenshot of your desktop.","archived":false,"fork":false,"pushed_at":"2018-05-11T21:09:28.000Z","size":53,"stargazers_count":48,"open_issues_count":7,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-11T12:02:27.190Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uiur.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":"2014-05-21T14:51:35.000Z","updated_at":"2025-01-25T08:36:44.000Z","dependencies_parsed_at":"2022-09-26T21:20:45.276Z","dependency_job_id":null,"html_url":"https://github.com/uiur/node-screencapture","commit_stats":null,"previous_names":["uiureo/node-screencapture"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiur%2Fnode-screencapture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiur%2Fnode-screencapture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiur%2Fnode-screencapture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiur%2Fnode-screencapture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uiur","download_url":"https://codeload.github.com/uiur/node-screencapture/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244094236,"owners_count":20397020,"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-08-03T07:00:55.518Z","updated_at":"2025-03-21T10:31:57.529Z","avatar_url":"https://github.com/uiur.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# node-screencapture\n[![Build Status](https://travis-ci.org/uiureo/node-screencapture.svg)](https://travis-ci.org/uiureo/node-screencapture)\n\nTake a screenshot of your desktop interactively.\n\nAvailable in OSX, Linux, FreeBSD and Windows.\n\n``` javascript\nvar screencapture = require('screencapture')\n\nscreencapture(function (err, imagePath) {\n  // then you have imagePath as png.\n  //\n  // When an user exits screencapture without taking a screenshot,\n  // imagePath == null\n})\n```\n\nYou can specify an output file path.\n``` javascript\nscreencapture('/path/to/output.png', function (err, imagePath) {\n  // imagePath is '/path/to/output.png' or null\n})\n```\n\nYou can use env named `CAPTURE_COMMAND` for capture.\nThis is formatted with `%s` for file path; `CAPTURE_COMMAND=\"shutter -s -e -o %s\"`.\n\n## Installation\n```\nnpm install -g screencapture\n```\n\nIn Linux, you need to install imagemagick.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiur%2Fnode-screencapture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuiur%2Fnode-screencapture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiur%2Fnode-screencapture/lists"}