interactive-screenshot

0.0.5 • Public • Published

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

Package Sidebar

Install

npm i interactive-screenshot

Weekly Downloads

1

Version

0.0.5

License

GPL-3.0

Last publish

Collaborators

  • mstrodl