New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

desktop-capture

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

desktop-capture

A description of this package.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

desktop-capture

Capture a screenshot of the desktop as a base64 encoded string.

Note: This module only works for OS X.

Install

$ npm i -S desktop-capture

Usage

const capture = require('desktop-capture');

capture().then(b64 => {
	console.log(b64);
});
```

## Build

With NPM:

```bash
$ npm run build
// -> ./desktop-capture
```

With Swift:

```bash
$ swift build
// -> ./build/release/desktop-capture
```

## Test

With NPM:

```bash
$ npm t
```

With Swift:

```bash
$ swift test
```

## License

MIT © [Vu Tran](https://github.com/vutran)

FAQs

Package last updated on 18 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts