0.8.3 • Published 7 years ago

screenshot-monitor-capture v0.8.3

Weekly downloads
8
License
MIT
Repository
github
Last release
7 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

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.0

8 years ago