interactive-screenshot
v0.0.5
Published
A cross-platform interactive screenshot module with promises!
Downloads
3
Readme
Interactive Screenshot
Interactive screenshot is a small yet powerful Node.js module allowing you to take screenshots with ease! It was originally created for The Image Guru's screenshot app but can easily be used on many other projects! It's licensed under GPL-3.0 so many open source projects can use it! Syntax is simplex and uses promises.
For example, the following code saves a screenshot to /screenshot.png
let interactiveScreenshot = require("interactive-screenshot")
let fs = require("fs")
interactiveScreenshot.capture().then(function(buffer) {
fs.writeFile("/screenshot.png", buffer)
}).catch(function(err) {
console.log(err)
})