0.8.3 • Published 5 years ago

screenshot-monitor-capture v0.8.3

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

ScreenshotCapture

Install

npm install screenshot-monitor-capture --save

Usage

import { takeScreenshot, Data } from "screenshot-monitor-capture";
const fs = require('fs');

takeScreenshot("image/png").then((data: Data) => {
	fs.writeFile("c:\\screen.png", data.buffer, (error: Error) => {
		if (error) {
			console.error(error);
		}
	});
});
0.8.3

5 years ago

0.8.2

5 years ago

0.8.1

6 years ago

0.8.0

6 years ago

0.7.0

6 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago