node-screen
v0.0.12
Published
Take a screenshot of your desktop
Downloads
5
Readme
node-screen
Take a screenshot of your desktop interactively.
Available in Linux and Windows.
var screen = require('node-screen');
screen.shot('screen.png', function(err, res, stderr) {
console.log(err || res);
});
var screen = require('node-screen');
screen.shot('screen-800px.png', 800, function(err, res, stderr) {
console.log(err || res);
});
var screen = require('node-screen');
screen.mousemove({
x: 34,
y: 28
}, function() {
screen.mouseclick('left');
});
node-screen shot --output screen.png
Installation
npm install -g node-screen