0.0.5 • Published 7 years ago

interactive-screenshot v0.0.5

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
7 years ago

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)
})