https://github.com/bencevans/screenshot-desktop

💻 Capture a screenshot of your local machine

https://github.com/bencevans/screenshot-desktop

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • â—‹
    CITATION.cff file
  • ✓
    codemeta.json file
    Found codemeta.json file
  • ✓
    .zenodo.json file
    Found .zenodo.json file
  • â—‹
    DOI references
  • â—‹
    Academic publication links
  • â—‹
    Committers with academic emails
  • â—‹
    Institutional organization owner
  • â—‹
    JOSS paper metadata
  • â—‹
    Scientific vocabulary similarity
    Low similarity (6.7%) to scientific vocabulary

Keywords

hacktoberfest linux osx screenshot windows

Keywords from Contributors

transformer charting embedded hacking stats archival interactive zsh-plugin productivity projection
Last synced: 6 months ago · JSON representation

Repository

💻 Capture a screenshot of your local machine

Basic Info
Statistics
  • Stars: 477
  • Watchers: 10
  • Forks: 97
  • Open Issues: 22
  • Releases: 28
Topics
hacktoberfest linux osx screenshot windows
Created over 9 years ago · Last pushed 6 months ago
Metadata Files
Readme

README.md

screenshot-desktop

Capture a screenshot of your local machine

  • Multi/Cross Platform
    • Linux: required ImageMagick apt-get install imagemagick
    • OSX: No dependencies required!
    • Windows: No dependencies required!
  • Promise based API
  • JPG output (by default)

Install

$ npm install --save screenshot-desktop

Usage

```js const screenshot = require('screenshot-desktop')

screenshot().then((img) => { // img: Buffer filled with jpg goodness // ... }).catch((err) => { // ... }) ```

```js const screenshot = require('screenshot-desktop')

screenshot({format: 'png'}).then((img) => { // img: Buffer filled with png goodness // ... }).catch((err) => { // ... }) ```

js screenshot.listDisplays().then((displays) => { // displays: [{ id, name }, { id, name }] screenshot({ screen: displays[displays.length - 1].id }) .then((img) => { // img: Buffer of screenshot of the last display }); })

js screenshot.all().then((imgs) => { // imgs: an array of Buffers, one for each screen })

```js screenshot({ filename: 'shot.jpg' }).then((imgPath) => { // imgPath: absolute path to screenshot // created in current working directory named shot.png });

// absolute paths work too. so do pngs screenshot({ filename: '/Users/brian/Desktop/demo.png' }) ```

screenshot() options

  • filename Optional. Absolute or relative path to save output.
  • format Optional. Valid values png|jpg.
  • linuxLibrary Optional. Linux only. Valid values scrot|imagemagick. Which library to use. Note that scrot does not support format or screen selection.

Licence

MIT © Ben Evans

Owner

  • Name: Ben Evans
  • Login: bencevans
  • Kind: user
  • Location: London, UK
  • Company: Institute of Zoology, ZSL

GitHub Events

Total
  • Create event: 7
  • Release event: 1
  • Issues event: 4
  • Watch event: 38
  • Delete event: 3
  • Issue comment event: 4
  • Push event: 15
  • Pull request event: 17
  • Fork event: 7
Last Year
  • Create event: 7
  • Release event: 1
  • Issues event: 4
  • Watch event: 38
  • Delete event: 3
  • Issue comment event: 4
  • Push event: 15
  • Pull request event: 17
  • Fork event: 7

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 266
  • Total Committers: 26
  • Avg Commits per committer: 10.231
  • Development Distribution Score (DDS): 0.677
Past Year
  • Commits: 7
  • Committers: 3
  • Avg Commits per committer: 2.333
  • Development Distribution Score (DDS): 0.429
Top Committers
Name Email Commits
Renovate Bot b****t@r****m 86
Ben Evans b****n@b****o 81
dependabot[bot] 4****] 31
depfu[bot] 2****] 30
renovate[bot] r****] 9
tai2 h****o@t****t 5
Brian Schiller b****r@g****m 4
Blatoy l****t@g****m 2
Viktor Yarmolenko v****o@b****k 1
zhanggang z****g@c****m 1
BigSteel 1****3@q****m 1
Chinafreak 1****k 1
Dan Gilkerson c****t@d****m 1
Elliott Partridge e****e@g****m 1
Hiroko Tamagawa n****5 1
Levi Nunnink l****i@c****m 1
Manuel Roat r****l@g****m 1
Marcin Cichocki m****3@g****m 1
Milan Raj r****e 1
Nicolas Newman n****6@g****m 1
Peter Holló l****r@g****m 1
Simon Smith s****1@g****m 1
Ties t****k@g****m 1
Tim Greller t****7@g****m 1
pityulin p****n@g****m 1
radar155 g****3@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 41
  • Total pull requests: 102
  • Average time to close issues: 2 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 39
  • Total pull request authors: 13
  • Average comments per issue: 2.98
  • Average comments per pull request: 0.46
  • Merged pull requests: 85
  • Bot issues: 0
  • Bot pull requests: 73
Past Year
  • Issues: 3
  • Pull requests: 15
  • Average time to close issues: 5 days
  • Average time to close pull requests: 3 days
  • Issue authors: 3
  • Pull request authors: 5
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.2
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 8
Top Authors
Issue Authors
  • samantrader (3)
  • rishabhrpg (1)
  • markosole (1)
  • udarrr (1)
  • AlexEmerson (1)
  • rufus-codeb (1)
  • Askelardd (1)
  • NirmanSonawane (1)
  • r-shafi (1)
  • JSteunou (1)
  • blockchain-expert (1)
  • jattinb (1)
  • byfareska (1)
  • Azperin (1)
  • andrewschreiber (1)
Pull Request Authors
  • dependabot[bot] (45)
  • depfu[bot] (34)
  • bencevans (15)
  • valueerrorx (2)
  • andrew1931 (2)
  • mrtumnus (2)
  • briancullinan2 (2)
  • pityulin (2)
  • gauthier-th (2)
  • redek91 (1)
  • si458 (1)
  • marcincichocki (1)
  • Mindar (1)
Top Labels
Issue Labels
bug (26) feature request (4) released (4) help wanted (3) good first issue (2) enhancement (1)
Pull Request Labels
dependencies (45) javascript (30) released (23) github_actions (4) depfu (2)

Packages

  • Total packages: 7
  • Total downloads:
    • npm 176,696 last-month
  • Total dependent packages: 60
    (may contain duplicates)
  • Total dependent repositories: 218
    (may contain duplicates)
  • Total versions: 53
  • Total maintainers: 7
  • Total advisories: 1
npmjs.org: screenshot-desktop

Capture a screenshot of your local machine

  • Versions: 36
  • Dependent Packages: 57
  • Dependent Repositories: 215
  • Downloads: 176,554 Last month
Rankings
Downloads: 0.5%
Dependent packages count: 0.7%
Dependent repos count: 1.1%
Average: 1.8%
Forks count: 3.3%
Stargazers count: 3.4%
Maintainers (1)
Funding
  • type: github: url: https://github.com/sponsors/bencevans
Last synced: 6 months ago
npmjs.org: akey-screenshot-desktop

Capture a screenshot of your local machine

  • Versions: 7
  • Dependent Packages: 2
  • Dependent Repositories: 1
  • Downloads: 3 Last month
Rankings
Forks count: 3.2%
Stargazers count: 3.3%
Dependent repos count: 10.3%
Average: 12.1%
Dependent packages count: 20.9%
Downloads: 22.7%
Maintainers (1)
Funding
  • type: github: url: https://github.com/sponsors/bencevans
Last synced: 6 months ago
npmjs.org: farateam-screenshot-desktop

Capture a screenshot of your local machine

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Downloads: 0 Last month
Rankings
Forks count: 4.2%
Stargazers count: 4.4%
Dependent packages count: 16.2%
Average: 18.7%
Dependent repos count: 25.3%
Downloads: 43.6%
Maintainers (1)
Funding
  • type: github: url: https://github.com/sponsors/bencevans
Last synced: 6 months ago
npmjs.org: rpi-screenshot

Capture a screenshot of your local machine

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 5 Last month
Rankings
Forks count: 3.2%
Stargazers count: 3.3%
Dependent repos count: 10.3%
Average: 23.4%
Downloads: 48.2%
Dependent packages count: 51.9%
Maintainers (1)
Last synced: 6 months ago
npmjs.org: screenshot-desktop-loongson

Capture a screenshot of your local machine, Edit for loongson(龙芯)

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 4 Last month
Rankings
Forks count: 3.2%
Stargazers count: 3.3%
Dependent repos count: 10.3%
Average: 24.1%
Downloads: 51.7%
Dependent packages count: 51.9%
Maintainers (1)
Last synced: about 1 year ago
npmjs.org: rbx-handler

Capture a screenshot of your local machine

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 5 Last month
Rankings
Dependent repos count: 25.4%
Average: 31.1%
Dependent packages count: 36.8%
Maintainers (1)
Funding
  • type: github: url: https://github.com/sponsors/bencevans
Last synced: 6 months ago
npmjs.org: screenshot-desktop-wayland

Capture a screenshot of your local machine

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 125 Last month
Rankings
Dependent repos count: 25.7%
Average: 31.6%
Dependent packages count: 37.4%
Maintainers (1)
Funding
  • type: github: url: https://github.com/valueerrorx/
Last synced: 6 months ago

Dependencies

.github/workflows/ci.yml actions
  • GabrielBB/xvfb-action v1 composite
  • actions/checkout v2 composite
  • actions/setup-node v1 composite
.github/workflows/lint.yml actions
  • GabrielBB/xvfb-action v1 composite
  • actions/checkout v2 composite
  • actions/setup-node v1 composite
.github/workflows/release.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
package-lock.json npm
  • 683 dependencies
package.json npm
  • ava ^5.0.1 development
  • semantic-release ^19.0.5 development
  • standard ^17.0.0 development
  • pinkie-promise ^2.0.1
  • temp ^0.9.4